File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
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
- - name : Set SECURE_API_TOKEN env and debug
26
+ -
27
+ name : Debug: Check if SECURE_API_TOKEN is available
28
+ env :
29
+ SECURE_API_TOKEN : " ${{ secrets.SECURE_API_TOKEN }}"
27
30
run : |
28
- export SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}"
29
31
echo "🔍 Token Length: ${#SECURE_API_TOKEN}"
30
32
echo "🔍 Token Head: ${SECURE_API_TOKEN:0:5}"
31
33
if [ -z "$SECURE_API_TOKEN" ]; then
37
39
38
40
- name : Run Sysdig Scan (voting-app)
39
41
run : |
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
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
51
43
You can’t perform that action at this time.
0 commit comments