Skip to content

Commit 09c311c

Browse files
committed
Fix: use --standalone --input-file with CLI latest
1 parent 1e296dd commit 09c311c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/sysdig-scan.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,23 @@ jobs:
2727
docker build -t vote-image ./vote
2828
docker save vote-image -o vote-image.tar
2929
30-
- name: Scan Docker image from archive with Sysdig (v1.24.2)
30+
- name: Scan Docker image from archive with Sysdig
3131
run: |
3232
docker run --rm \
33+
     --platform linux/amd64 \
3334
-e SECURE_API_TOKEN=${{ secrets.SYSDIG_SECURE_TOKEN }} \
3435
-v ${{ github.workspace }}/vote-image.tar:/tmp/vote-image.tar \
35-
quay.io/sysdig/sysdig-cli-scanner:1.24.2 \
36+
quay.io/sysdig/sysdig-cli-scanner:latest \
3637
--standalone \
3738
--input-file /tmp/vote-image.tar \
3839
vote-image:ci
3940

4041
- name: Scan IaC (k8s-specifications)
4142
run: |
4243
docker run --rm \
44+
--platform linux/amd64 \
4345
-e SECURE_API_TOKEN=${{ secrets.SYSDIG_SECURE_TOKEN }} \
4446
-v ${{ github.workspace }}:/iac \
45-
quay.io/sysdig/sysdig-cli-scanner:1.24.2 \
47+
quay.io/sysdig/sysdig-cli-scanner:latest \
4648
--apiurl ${{ secrets.SYSDIG_API_URL }} \
4749
--iac scan /iac/k8s-specifications

0 commit comments

Comments
 (0)