File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,23 +101,6 @@ jobs:
101101 docker images $IMAGE_TAG
102102 docker history $IMAGE_TAG
103103
104- # Scan for vulnerabilities in built container image after pushes to mainline branch.
105- - name : Run Trivy container image vulnerabity scan
106- if : github.event_name == 'push' && github.ref == 'refs/heads/master' && (steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker) && matrix.build_preset == 'lean'
107- uses : aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
108- with :
109- image-ref : ${{ env.IMAGE_TAG }}
110- format : ' sarif'
111- output : ' trivy-results.sarif'
112- vuln-type : ' os'
113- severity : ' CRITICAL,HIGH'
114- ignore-unfixed : true
115- - name : Upload Trivy scan results to GitHub Security tab
116- if : github.event_name == 'push' && github.ref == 'refs/heads/master' && (steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker) && matrix.build_preset == 'lean'
117- uses : github/codeql-action/upload-sarif@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
118- with :
119- sarif_file : ' trivy-results.sarif'
120-
121104 - name : docker-compose sanity check
122105 if : (steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker) && matrix.build_preset == 'dev'
123106 shell : bash
You can’t perform that action at this time.
0 commit comments