File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ jobs:
25
25
26
26
- name : Debug
27
27
env :
28
- SYSDIG_SECURE_TOKEN : ${{ secrets.SYSDIG_SECURE_TOKEN }}
28
+ SECURE_API_TOKEN : ${{ secrets.SECURE_API_TOKEN }}
29
29
run : |
30
- echo "🔍 Token Length: ${#SYSDIG_SECURE_TOKEN }"
31
- echo "🔍 Token Head: ${SYSDIG_SECURE_TOKEN :0:5}"
32
- if [ -z "$SYSDIG_SECURE_TOKEN " ]; then
33
- echo "❌ SYSDIG_SECURE_TOKEN is NOT set!"
30
+ echo "🔍 Token Length: ${#SECURE_API_TOKEN }"
31
+ echo "🔍 Token Head: ${SECURE_API_TOKEN :0:5}"
32
+ if [ -z "$SECURE_API_TOKEN " ]; then
33
+ echo "❌ SECURE_API_TOKEN is NOT set!"
34
34
exit 1
35
35
else
36
- echo "✅ SYSDIG_SECURE_TOKEN is available."
36
+ echo "✅ SECURE_API_TOKEN is available."
37
37
fi
38
38
39
39
- name : Run Sysdig Scan (voting-app)
43
43
--user 0 \
44
44
-v "$(pwd)/scan-logs:/home/nonroot/scan-logs" \
45
45
-v /var/run/docker.sock:/var/run/docker.sock \
46
- -e SYSDIG_SECURE_TOKEN ="${{ secrets.SYSDIG_SECURE_TOKEN }}" \
46
+ -e SECURE_API_TOKEN ="${{ secrets.SECURE_API_TOKEN }}" \
47
47
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
48
48
--apiurl "$SYS_DIG_SECURE_URL" \
49
49
--loglevel debug \
You can’t perform that action at this time.
0 commit comments