From 7ffe81c9a31a9755c5e7a6f48d4dbd0ca10eeb0b Mon Sep 17 00:00:00 2001 From: bama4 Date: Mon, 15 Feb 2021 15:27:59 -0800 Subject: [PATCH] Added snyk token variable (#2) --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8a4e4b44..c5ae14b9 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: @@ -96,6 +102,7 @@ jobs: # Snyk Scan - snyk/scan: docker-image-name: $IMAGE_NAME + token-variable: SNYK_API_TOKEN - store_artifacts: path: coverage.xml - store_artifacts: