Skip to content

Commit

Permalink
Added snyk token variable (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
bama4 committed Feb 15, 2021
1 parent 4f7c17d commit 31a3e3f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
version: 2.1
orbs:
snyk: snyk/[email protected]
workflows:
build:
jobs:
- build:
context:
- snyk_api
jobs:
build:
docker:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 31a3e3f

Please sign in to comment.