Skip to content

Commit ff0ff14

Browse files
committed
final Sysdig image scan
1 parent 4936486 commit ff0ff14

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/scan.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,45 +20,39 @@ jobs:
2020
docker build -t worker ./worker
2121
docker build -t result ./result
2222
23-
- name: 🛡️ Scan voting-app with Sysdig
24-
env:
25-
SECURE_API_TOKEN: ${{ secrets.SECURE_API_TOKEN }}
23+
- name: 🔍 Scan with Sysdig (voting-app)
2624
run: |
2725
docker run --rm \
2826
--platform linux/amd64 \
2927
--user 0 \
3028
-v /var/run/docker.sock:/var/run/docker.sock \
31-
-e SECURE_API_TOKEN=$SECURE_API_TOKEN \
29+
-e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
3230
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
3331
--apiurl https://app.au1.sysdig.com \
3432
--loglevel info \
3533
--skiptlsverify \
3634
docker://voting-app
3735
38-
- name: 🛡️ Scan worker with Sysdig
39-
env:
40-
SECURE_API_TOKEN: ${{ secrets.SECURE_API_TOKEN }}
36+
- name: 🔍 Scan with Sysdig (worker)
4137
run: |
4238
docker run --rm \
4339
--platform linux/amd64 \
4440
--user 0 \
4541
-v /var/run/docker.sock:/var/run/docker.sock \
46-
-e SECURE_API_TOKEN=$SECURE_API_TOKEN \
42+
-e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
4743
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
4844
--apiurl https://app.au1.sysdig.com \
4945
--loglevel info \
5046
--skiptlsverify \
5147
docker://worker
5248
53-
- name: 🛡️ Scan result with Sysdig
54-
env:
55-
SECURE_API_TOKEN: ${{ secrets.SECURE_API_TOKEN }}
49+
- name: 🔍 Scan with Sysdig (result)
5650
run: |
5751
docker run --rm \
5852
--platform linux/amd64 \
5953
--user 0 \
6054
-v /var/run/docker.sock:/var/run/docker.sock \
61-
-e SECURE_API_TOKEN=$SECURE_API_TOKEN \
55+
-e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
6256
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
6357
--apiurl https://app.au1.sysdig.com \
6458
--loglevel info \

0 commit comments

Comments
 (0)