File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 2222 - name : Tag Docker image
2323 run : docker tag algorithm-exercises-js:latest algorithm-exercises-js:${{ github.sha }}
2424
25+ - name : Run Snyk to check Docker image for vulnerabilities
26+ # Snyk can be used to break the build when it detects vulnerabilities.
27+ # In this case we want to upload the issues to GitHub Code Scanning
28+ continue-on-error : true
29+ uses : snyk/actions/docker@master
30+ env :
31+ # In order to use the Snyk Action you will need to have a Snyk API token.
32+ # See https://docs.snyk.io/integrations/ci-cd-integrations/github-actions-integration#getting-your-snyk-token
33+ # or you can sign up for free at https://snyk.io/login
34+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
35+ with :
36+ image : algorithm-exercises-js:latest
37+ args : --file=Dockerfile
38+ # - name: Upload result to GitHub Code Scanning
39+ # uses: github/codeql-action/upload-sarif@v2
40+ # with:
41+ # sarif_file: snyk.sarif
You can’t perform that action at this time.
0 commit comments