File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -14,29 +14,29 @@ jobs:
14
14
SYS_DIG_SECURE_URL : https://app.au1.sysdig.com
15
15
16
16
steps :
17
- - name : 🛎️ Checkout code
17
+ - name : Checkout code
18
18
uses : actions/checkout@v3
19
19
20
- - name : 🏗️ Build Docker images
20
+ - name : Build Docker images
21
21
run : |
22
22
docker build -t voting-app ./vote
23
23
docker build -t worker ./worker
24
24
docker build -t result ./result
25
25
26
- - name : 🔍 DEBUG: Check if SECURE_API_TOKEN is available
27
- env :
28
- SECURE_API_TOKEN : ${{ secrets.SECURE_API_TOKEN }}
26
+ - name : Debug: Check if SECURE_API_TOKEN is available
29
27
run : |
30
- echo "🔍 Token Length: ${#SECURE_API_TOKEN}"
31
- echo "🔍 Token Head: ${SECURE_API_TOKEN:0:5}"
28
+ echo "Token Length: ${#SECURE_API_TOKEN}"
29
+ echo "Token Head: ${SECURE_API_TOKEN:0:5}"
32
30
if [ -z "$SECURE_API_TOKEN" ]; then
33
- echo "❌ SECURE_API_TOKEN is NOT set!"
31
+ echo "SECURE_API_TOKEN is NOT set!"
34
32
exit 1
35
33
else
36
- echo "✅ SECURE_API_TOKEN is available."
34
+ echo "SECURE_API_TOKEN is available."
37
35
fi
36
+ env :
37
+ SECURE_API_TOKEN : ${{ secrets.SECURE_API_TOKEN }}
38
38
39
- - name : 🔍 Run Sysdig Scan (voting-app)
39
+ - name : Run Sysdig Scan (voting-app)
40
40
run : |
41
41
docker run --rm \
42
42
--platform linux/amd64 \
You can’t perform that action at this time.
0 commit comments