File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ jobs:
132
132
output : " ${{ steps.manifest.outputs.image-name }}.sarif"
133
133
# turn off secret scanning to speed things up
134
134
env :
135
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
135
+ TRIVY_DB_REPOSITORY : ghcr.io/azimuth-cloud/trivy-db:2
136
136
137
137
- name : Upload Trivy scan results to GitHub Security tab
138
138
uses : github/codeql-action/upload-sarif@v3
@@ -150,6 +150,8 @@ jobs:
150
150
exit-code : ' 1'
151
151
severity : ' CRITICAL'
152
152
ignore-unfixed : true
153
+ env :
154
+ TRIVY_DB_REPOSITORY : ghcr.io/azimuth-cloud/trivy-db:2
153
155
154
156
- name : Delete new image if Trivy scan fails
155
157
if : failure() && steps.packer_build.outcome == 'success' # Runs if the Trivy scan found crit vulnerabilities or failed
You can’t perform that action at this time.
0 commit comments