File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616jobs :
1717
1818 vulnerabilities :
19- runs-on : ubuntu-22 .04
19+ runs-on : ubuntu-24 .04
2020 defaults :
2121 run :
2222 working-directory : .
2323 steps :
2424 - name : Checkout pygeoapi
2525 uses : actions/checkout@master
2626 - name : Scan vulnerabilities with trivy
27- uses : aquasecurity/trivy-action@master
27+ uses : aquasecurity/trivy-action@v0.35.0
2828 with :
2929 scan-type : fs
3030 exit-code : 1
3636 run : |
3737 docker buildx build -t ${{ github.repository }}:${{ github.sha }} --platform linux/amd64 --no-cache -f Dockerfile .
3838 - name : Scan locally built Docker image for vulnerabilities with trivy
39- uses : aquasecurity/trivy-action@master
39+ uses : aquasecurity/trivy-action@v0.35.0
4040 env :
4141 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db:2
4242 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db:1
4646 ignore-unfixed : true
4747 severity : CRITICAL,HIGH
4848 vuln-type : os,library
49- image-ref : ' ${{ github.repository }}:${{ github.sha }}'
49+ image-ref : ' ${{ github.repository }}:${{ github.sha }}'
You can’t perform that action at this time.
0 commit comments