diff --git a/.circleci/config.yml b/.circleci/config.yml index 905e4642..8bdbe90a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,8 @@ # A CircleCI configuration file because we do continuous integration testing! -version: 2 - +version: 2.1 +orbs: + snyk: snyk/snyk@x.y.z jobs: build: docker: @@ -91,6 +92,10 @@ jobs: - run: coverage report # output to stdout. - run: coverage xml # generate report artifact coverage.xml. - run: coverage html # generate report artifact htmlcov/*. + + # Snyk Scan + - snyk/scan: + docker-image-name: $IMAGE_NAME - store_artifacts: path: coverage.xml - store_artifacts: