File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,15 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v1
13+ - name : Set up QEMU
14+ uses : docker/setup-qemu-action@v1
1315 - name : Build
1416 env :
1517 REPO : ${{ github.repository }}
1618 shell : bash
1719 run : |
1820 echo "docker_repo=${{ env.REPO }}" >> $GITHUB_ENV
19- make build
21+ make build && make build-arm64
2022 - name : Trivy vulnerability scanner
2123 uses : aquasecurity/trivy-action@0.0.20
2224 with :
2628 ignore-unfixed : true
2729 vuln-type : ' os,library'
2830 severity : ' CRITICAL,HIGH'
31+ - name : Trivy vulnerability scanner on arm64 image
32+ uses : aquasecurity/trivy-action@0.0.20
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'
2940 test :
3041 runs-on : ubuntu-latest
3142 steps :
You can’t perform that action at this time.
0 commit comments