@@ -11,48 +11,48 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - name : 🛎️ Checkout code
14
+ - name : Checkout code
15
15
uses : actions/checkout@v3
16
16
17
- - name : 🧱 Build Docker images
17
+ - name : Build Docker images
18
18
run : |
19
19
docker build -t voting-app ./vote
20
20
docker build -t worker ./worker
21
21
docker build -t result ./result
22
22
23
- - name : 🔍 Scan with Sysdig (voting-app)
23
+ - name : Run Sysdig Scan (voting-app)
24
24
run : |
25
25
docker run --rm \
26
26
--platform linux/amd64 \
27
27
--user 0 \
28
+ -e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
28
29
-v /var/run/docker.sock:/var/run/docker.sock \
29
- -e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
30
30
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
31
31
--apiurl https://app.au1.sysdig.com \
32
32
--loglevel info \
33
33
--skiptlsverify \
34
34
docker://voting-app
35
35
36
- - name : 🔍 Scan with Sysdig (worker)
36
+ - name : Run Sysdig Scan (worker)
37
37
run : |
38
38
docker run --rm \
39
39
--platform linux/amd64 \
40
40
--user 0 \
41
+ -e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
41
42
-v /var/run/docker.sock:/var/run/docker.sock \
42
- -e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
43
43
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
44
44
--apiurl https://app.au1.sysdig.com \
45
45
--loglevel info \
46
46
--skiptlsverify \
47
47
docker://worker
48
48
49
- - name : 🔍 Scan with Sysdig (result)
49
+ - name : Run Sysdig Scan (result)
50
50
run : |
51
51
docker run --rm \
52
52
--platform linux/amd64 \
53
53
--user 0 \
54
+ -e SECURE_API_TOKEN=${{ secrets.SECURE_API_TOKEN }} \
54
55
-v /var/run/docker.sock:/var/run/docker.sock \
55
- -e SECURE_API_TOKEN="${{ secrets.SECURE_API_TOKEN }}" \
56
56
quay.io/sysdig/sysdig-cli-scanner:1.22.4 \
57
57
--apiurl https://app.au1.sysdig.com \
58
58
--loglevel info \
0 commit comments