File tree Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change 9
9
- main
10
10
11
11
jobs :
12
- Anchore :
12
+ Grype :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Checkout source code
@@ -20,11 +20,31 @@ jobs:
20
20
with :
21
21
path : " ."
22
22
# fail-build: false
23
- # output-format: table
24
- - name : upload Anchore scan SARIF report
25
- uses : github/codeql-action/upload-sarif@v3
23
+ output-format : table
24
+ # - name: upload Anchore scan SARIF report
25
+ # uses: github/codeql-action/upload-sarif@v3
26
+ # with:
27
+ # sarif_file: ${{ steps.scan.outputs.sarif }}
28
+
29
+ Grype-Image :
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - name : Checkout source code
33
+ uses : actions/checkout@v4
34
+ - name : Build the Container image
35
+ run : |
36
+ pwd
37
+ ls -la
38
+ docker build . --file Dockerfile --tag localbuild/todo-app:v1
39
+ - uses : anchore/scan-action@v3
40
+ id : scan
26
41
with :
27
- sarif_file : ${{ steps.scan.outputs.sarif }}
42
+ image : " localbuild/todo-app:v1"
43
+ output-format : table
44
+ # - name: upload Anchore scan SARIF report
45
+ # uses: github/codeql-action/upload-sarif@v3
46
+ # with:
47
+ # sarif_file: ${{ steps.scan.outputs.sarif }}
28
48
29
49
Bearer :
30
50
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments