Skip to content

Commit fd44029

Browse files
committed
use azimuth-cloud trivy db mirror
1 parent 260146a commit fd44029

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/fatimage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
output: "${{ steps.manifest.outputs.image-name }}.sarif"
133133
# turn off secret scanning to speed things up
134134
env:
135-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135+
TRIVY_DB_REPOSITORY: ghcr.io/azimuth-cloud/trivy-db:2
136136

137137
- name: Upload Trivy scan results to GitHub Security tab
138138
uses: github/codeql-action/upload-sarif@v3
@@ -150,6 +150,8 @@ jobs:
150150
exit-code: '1'
151151
severity: 'CRITICAL'
152152
ignore-unfixed: true
153+
env:
154+
TRIVY_DB_REPOSITORY: ghcr.io/azimuth-cloud/trivy-db:2
153155

154156
- name: Delete new image if Trivy scan fails
155157
if: failure() && steps.packer_build.outcome == 'success' # Runs if the Trivy scan found crit vulnerabilities or failed

0 commit comments

Comments
 (0)