File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,23 @@ jobs:
27
27
docker build -t vote-image ./vote
28
28
docker save vote-image -o vote-image.tar
29
29
30
- - name : Scan Docker image from archive with Sysdig (v1.24.2)
30
+ - name : Scan Docker image from archive with Sysdig
31
31
run : |
32
32
docker run --rm \
33
+ --platform linux/amd64 \
33
34
-e SECURE_API_TOKEN=${{ secrets.SYSDIG_SECURE_TOKEN }} \
34
35
-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 \
36
37
--standalone \
37
38
--input-file /tmp/vote-image.tar \
38
39
vote-image:ci
39
40
40
41
- name : Scan IaC (k8s-specifications)
41
42
run : |
42
43
docker run --rm \
44
+ --platform linux/amd64 \
43
45
-e SECURE_API_TOKEN=${{ secrets.SYSDIG_SECURE_TOKEN }} \
44
46
-v ${{ github.workspace }}:/iac \
45
- quay.io/sysdig/sysdig-cli-scanner:1.24.2 \
47
+ quay.io/sysdig/sysdig-cli-scanner:latest \
46
48
--apiurl ${{ secrets.SYSDIG_API_URL }} \
47
49
--iac scan /iac/k8s-specifications
You can’t perform that action at this time.
0 commit comments