@@ -20,45 +20,39 @@ jobs:
20
20
docker build -t worker ./worker
21
21
docker build -t result ./result
22
22
23
- - name : 🛡️ Scan voting-app with Sysdig
24
- env :
25
- SECURE_API_TOKEN : ${{ secrets.SECURE_API_TOKEN }}
23
+ - name : 🔍 Scan with Sysdig (voting-app)
26
24
run : |
27
25
docker run --rm \
28
26
--platform linux/amd64 \
29
27
--user 0 \
30
28
-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 }}" \
32
30
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
33
31
--apiurl https://app.au1.sysdig.com \
34
32
--loglevel info \
35
33
--skiptlsverify \
36
34
docker://voting-app
37
35
38
- - name : 🛡️ Scan worker with Sysdig
39
- env :
40
- SECURE_API_TOKEN : ${{ secrets.SECURE_API_TOKEN }}
36
+ - name : 🔍 Scan with Sysdig (worker)
41
37
run : |
42
38
docker run --rm \
43
39
--platform linux/amd64 \
44
40
--user 0 \
45
41
-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 }}" \
47
43
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
48
44
--apiurl https://app.au1.sysdig.com \
49
45
--loglevel info \
50
46
--skiptlsverify \
51
47
docker://worker
52
48
53
- - name : 🛡️ Scan result with Sysdig
54
- env :
55
- SECURE_API_TOKEN : ${{ secrets.SECURE_API_TOKEN }}
49
+ - name : 🔍 Scan with Sysdig (result)
56
50
run : |
57
51
docker run --rm \
58
52
--platform linux/amd64 \
59
53
--user 0 \
60
54
-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 }}" \
62
56
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
63
57
--apiurl https://app.au1.sysdig.com \
64
58
--loglevel info \
0 commit comments