File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 23
23
docker build -t worker ./worker
24
24
docker build -t result ./result
25
25
26
- -
27
- name : Debug: Check if SECURE_API_TOKEN is available
26
+ - name : Debug
28
27
env :
29
28
SECURE_API_TOKEN : " ${{ secrets.SECURE_API_TOKEN }}"
30
29
run : |
35
34
exit 1
36
35
else
37
36
echo "✅ SECURE_API_TOKEN is available."
38
- fi
39
37
40
38
- name : Run Sysdig Scan (voting-app)
41
39
run : |
42
- docker run --rm --platform linux/amd64 --user 0 -v "$(pwd)/scan-logs:/home/nonroot/scan-logs" -v /var/run/docker.sock:/var/run/docker.sock -e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" quay.io/sysdig/sysdig-cli-scanner:1.22.4 --apiurl "$SYS_DIG_SECURE_URL" --loglevel debug --skiptlsverify docker://voting-app
40
+ docker run --rm \
41
+ --platform linux/amd64 \
42
+ --user 0 \
43
+ -v "$(pwd)/scan-logs:/home/nonroot/scan-logs" \
44
+ -v /var/run/docker.sock:/var/run/docker.sock \
45
+ -e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
46
+ quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
47
+ --apiurl "$SYS_DIG_SECURE_URL" \
48
+ --loglevel debug \
49
+ --skiptlsverify \
50
+ docker://voting-app
43
51
You can’t perform that action at this time.
0 commit comments