File tree Expand file tree Collapse file tree 1 file changed +7
-26
lines changed Expand file tree Collapse file tree 1 file changed +7
-26
lines changed Original file line number Diff line number Diff line change 9
9
- main
10
10
11
11
jobs :
12
- Grype :
12
+ grype :
13
+ name : Grype
13
14
runs-on : ubuntu-latest
14
15
steps :
15
16
- name : Checkout source code
@@ -26,42 +27,22 @@ jobs:
26
27
# with:
27
28
# sarif_file: ${{ steps.scan.outputs.sarif }}
28
29
29
- Grype-Image :
30
+ grype-image :
31
+ name : Grype
30
32
runs-on : ubuntu-latest
31
33
steps :
32
34
- name : Checkout source code
33
35
uses : actions/checkout@v4
34
36
- name : Build the Container image
35
- run : |
36
- pwd
37
- ls -la
38
- docker build . --file Dockerfile --tag localbuild/todo-app:v1
37
+ run : docker build . --file Dockerfile --tag localbuild/todo-app:v1
39
38
- uses : anchore/scan-action@v3
40
39
id : scan
41
40
with :
42
41
image : " localbuild/todo-app:v1"
43
42
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 }}
48
-
49
- Clair :
50
- name : Clair
51
- runs-on : ubuntu-latest
52
- steps :
53
- - name : Checkout source code
54
- uses : actions/checkout@v4
55
- - name : Build an image from Dockerfile
56
- run : docker build -t localbuild/mytodo-app:${{ github.sha }} .
57
- - name : Save Docker image
58
- run : docker save -o ${{ github.sha }} localbuild/mytodo-app:${{ github.sha }}
59
- - name : Run Clair V4
60
- uses : quay/clair-action@main
61
- with :
62
- image-path : ${{ github.sha }}
63
43
64
- Bearer :
44
+ bearer :
45
+ name : Bearer
65
46
runs-on : ubuntu-latest
66
47
steps :
67
48
- name : Checkout source code
You can’t perform that action at this time.
0 commit comments