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