File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 5
5
runs-on : ubuntu-latest
6
6
steps :
7
7
- uses : actions/checkout@v2
8
- - name : Build the Docker image
9
- run : docker build . --file Dockerfile --tag local/scanimage:latest
10
- - uses : anchore/scan-action@master
8
+ - name : Build the Container image
9
+ run : docker build . --file Dockerfile --tag localbuild/scanimage:latest
10
+ - uses : anchore/scan-action@v2
11
+ id : scan
11
12
with :
12
- image-reference : " local/scanimage:latest"
13
- dockerfile-path : " Dockerfile"
14
- fail-build : true
15
- - name : anchore inline scan JSON results
16
- run : for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done
13
+ image : " localbuild/scanimage:latest"
14
+ acs-report-enable : true
15
+ - name : upload Anchore scan SARIF report
16
+ uses : github/codeql-action/upload-sarif@v1
17
+ with :
18
+ sarif_file : results.sarif
17
19
- uses : azure/container-scan@v0
18
20
with :
19
- image-name : local/scanimage:latest
20
- # Add Serif report once Code Scanner is out of beta stage
21
+ image-name : localbuild/scanimage:latest
You can’t perform that action at this time.
0 commit comments