File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
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
- TRIVY_DB_REPOSITORY : ghcr.io/azimuth-cloud/trivy-db:2
135
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
136
136
137
137
- name : Upload Trivy scan results to GitHub Security tab
138
138
uses : github/codeql-action/upload-sarif@v3
@@ -151,8 +151,8 @@ jobs:
151
151
severity : ' CRITICAL'
152
152
ignore-unfixed : true
153
153
env :
154
- TRIVY_DB_REPOSITORY : ghcr.io/azimuth-cloud/trivy-db:2
155
-
154
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
155
+
156
156
- name : Delete new image if Trivy scan fails
157
157
if : failure() && steps.packer_build.outcome == 'success' # Runs if the Trivy scan found crit vulnerabilities or failed
158
158
run : |
You can’t perform that action at this time.
0 commit comments