File tree Expand file tree Collapse file tree 1 file changed +3
-28
lines changed Expand file tree Collapse file tree 1 file changed +3
-28
lines changed Original file line number Diff line number Diff line change 17
17
- name : 🛎️ Checkout code
18
18
uses : actions/checkout@v3
19
19
20
- - name : 🐳 Build Docker images
20
+ - name : 🏗️ Build Docker images
21
21
run : |
22
22
docker build -t voting-app ./vote
23
23
docker build -t worker ./worker
@@ -41,37 +41,12 @@ jobs:
41
41
docker run --rm \
42
42
--platform linux/amd64 \
43
43
--user 0 \
44
+ -v "$(pwd)/scan-logs:/home/nonroot/scan-logs" \
44
45
-v /var/run/docker.sock:/var/run/docker.sock \
45
46
-e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
46
47
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
47
48
--apiurl $SYS_DIG_SECURE_URL \
48
- --skiptlsverify \
49
- --loglevel debug \
50
- docker://voting-app
51
-
52
- - name : 🔍 Run Sysdig Scan (worker)
53
- run : |
54
- docker run --rm \
55
- --platform linux/amd64 \
56
- --user 0 \
57
- -v /var/run/docker.sock:/var/run/docker.sock \
58
- -e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
59
- quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
60
- --apiurl $SYS_DIG_SECURE_URL \
61
- --skiptlsverify \
62
49
--loglevel debug \
63
- docker://worker
64
-
65
- - name : 🔍 Run Sysdig Scan (result)
66
- run : |
67
- docker run --rm \
68
- --platform linux/amd64 \
69
- --user 0 \
70
- -v /var/run/docker.sock:/var/run/docker.sock \
71
- -e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
72
- quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
73
- --apiurl $SYS_DIG_SECURE_URL \
74
50
--skiptlsverify \
75
- --loglevel debug \
76
- docker://result
51
+ docker://voting-app
77
52
You can’t perform that action at this time.
0 commit comments