diff --git a/.circleci/config.yml b/.circleci/config.yml index 8a4e4b44..0803ff74 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,12 @@ version: 2.1 orbs: snyk: snyk/snyk@0.0.13 +workflows: + build: + jobs: + - build: + context: + - snyk_api jobs: build: docker: @@ -95,7 +101,9 @@ jobs: # Snyk Scan - snyk/scan: - docker-image-name: $IMAGE_NAME + token-variable: SNYK_API_TOKEN + monitor-on-build: true + target-file: requirements.txt - store_artifacts: path: coverage.xml - store_artifacts: