File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,15 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v1
13
+ - name : Set up QEMU
14
+ uses : docker/setup-qemu-action@v1
13
15
- name : Build
14
16
env :
15
17
REPO : ${{ github.repository }}
16
18
shell : bash
17
19
run : |
18
20
echo "docker_repo=${{ env.REPO }}" >> $GITHUB_ENV
19
- make build
21
+ make build && make build-arm64
20
22
- name : Trivy vulnerability scanner
21
23
uses :
aquasecurity/[email protected]
22
24
with :
26
28
ignore-unfixed : true
27
29
vuln-type : ' os,library'
28
30
severity : ' CRITICAL,HIGH'
31
+ - name : Trivy vulnerability scanner on arm64 image
32
+ uses :
aquasecurity/[email protected]
33
+ with :
34
+ image-ref : ' ${{ env.docker_repo }}:latest-arm64'
35
+ format : ' table'
36
+ exit-code : ' 1'
37
+ ignore-unfixed : true
38
+ vuln-type : ' os,library'
39
+ severity : ' CRITICAL,HIGH'
29
40
test :
30
41
runs-on : ubuntu-latest
31
42
steps :
You can’t perform that action at this time.
0 commit comments