File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 main :
15- runs-on : ubuntu-20 .04
15+ runs-on : ubuntu-22 .04
1616 timeout-minutes : 30
1717 steps :
1818 - name : Check out the repo
4545 push : ${{ github.event_name != 'pull_request' }}
4646 tags : ${{ steps.docker_meta.outputs.tags }}
4747 labels : ${{ steps.docker_meta.outputs.labels }}
48- - name : Run Trivy vulnerability scanner
49- uses : aquasecurity/trivy-action@master
50- with :
51- image-ref : ${{ env.imageName }}:${{ steps.docker_meta.outputs.version }}
52- format : ' sarif'
53- output : ' trivy-results.sarif'
54- ignore-unfixed : true
55- vuln-type : ' os,library'
56- security-checks : ' vuln'
57- severity : ' CRITICAL,HIGH'
58- timeout : ' 10m0s'
59- - name : Upload Trivy scan results to GitHub Security tab
60- uses : github/codeql-action/upload-sarif@v2
61- with :
62- sarif_file : " trivy-results.sarif"
You can’t perform that action at this time.
0 commit comments