File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -59,18 +59,30 @@ jobs:
5959 # sudo mv sysdig-cli-scanner-linux-amd64 /usr/local/bin/sysdig-cli-scanner
6060 # sysdig-cli-scanner --version
6161
62+
63+
6264 # --- Scan images ---
65+
6366 - name : Scan vote image
67+ env :
68+ SYSDIG_SECURE_URL : ${{ secrets.SYSDIG_SECURE_URL }}
69+ SYSDIG_SECURE_TOKEN : ${{ secrets.SYSDIG_SECURE_TOKEN }}
6470 run : |
65- sysdig-cli-scanner --apiurl $SYSDIG_SECURE_URL --token $SYSDIG_SECURE_TOKEN $REGISTRY /$REPO/vote:latest
71+ sysdig-cli-scanner docker.io /$REPO/vote:latest
6672
6773 - name : Scan worker image
74+ env :
75+ SYSDIG_SECURE_URL : ${{ secrets.SYSDIG_SECURE_URL }}
76+ SYSDIG_SECURE_TOKEN : ${{ secrets.SYSDIG_SECURE_TOKEN }}
6877 run : |
69- sysdig-cli-scanner --apiurl $SYSDIG_SECURE_URL --token $SYSDIG_SECURE_TOKEN $REGISTRY /$REPO/worker:latest
78+ sysdig-cli-scanner docker.io /$REPO/worker:latest
7079
7180 - name : Scan result image
81+ env :
82+ SYSDIG_SECURE_URL : ${{ secrets.SYSDIG_SECURE_URL }}
83+ SYSDIG_SECURE_TOKEN : ${{ secrets.SYSDIG_SECURE_TOKEN }}
7284 run : |
73- sysdig-cli-scanner --apiurl $SYSDIG_SECURE_URL --token $SYSDIG_SECURE_TOKEN $REGISTRY /$REPO/result:latest
85+ sysdig-cli-scanner docker.io /$REPO/result:latest
7486
7587 # --- Optional: Push images to Docker Hub (only if scans passed) ---
7688 - name : Push vote image
You can’t perform that action at this time.
0 commit comments