Skip to content

Commit d68086c

Browse files
committed
final Sysdig image scan
1 parent ff0ff14 commit d68086c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/scan.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,48 +11,48 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- name: 🛎️ Checkout code
14+
- name: Checkout code
1515
uses: actions/checkout@v3
1616

17-
- name: 🧱 Build Docker images
17+
- name: Build Docker images
1818
run: |
1919
docker build -t voting-app ./vote
2020
docker build -t worker ./worker
2121
docker build -t result ./result
2222
23-
- name: 🔍 Scan with Sysdig (voting-app)
23+
- name: Run Sysdig Scan (voting-app)
2424
run: |
2525
docker run --rm \
2626
--platform linux/amd64 \
2727
--user 0 \
28+
-e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
2829
-v /var/run/docker.sock:/var/run/docker.sock \
29-
-e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
3030
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
3131
--apiurl https://app.au1.sysdig.com \
3232
--loglevel info \
3333
--skiptlsverify \
3434
docker://voting-app
3535
36-
- name: 🔍 Scan with Sysdig (worker)
36+
- name: Run Sysdig Scan (worker)
3737
run: |
3838
docker run --rm \
3939
--platform linux/amd64 \
4040
--user 0 \
41+
-e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
4142
-v /var/run/docker.sock:/var/run/docker.sock \
42-
-e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
4343
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
4444
--apiurl https://app.au1.sysdig.com \
4545
--loglevel info \
4646
--skiptlsverify \
4747
docker://worker
4848
49-
- name: 🔍 Scan with Sysdig (result)
49+
- name: Run Sysdig Scan (result)
5050
run: |
5151
docker run --rm \
5252
--platform linux/amd64 \
5353
--user 0 \
54+
-e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
5455
-v /var/run/docker.sock:/var/run/docker.sock \
55-
-e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
5656
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
5757
--apiurl https://app.au1.sysdig.com \
5858
--loglevel info \

0 commit comments

Comments
 (0)