Skip to content

Commit d5c2a8e

Browse files
donchNicolasgouze
authored andcommitted
ci: customize TRIVY_DB_REPOSITORY due to rate-limits on github
1 parent d7f4c6d commit d5c2a8e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
HARBOR_REPO: "kube-image-keeper/kube-image-keeper"
1818
GHCR_IMAGE: "ghcr.io/enix/kube-image-keeper"
1919
QUAY_IMAGE: "quay.io/enix/kube-image-keeper"
20+
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
2021
steps:
2122
- name: Checkout Repository
2223
uses: actions/checkout@v4
@@ -29,7 +30,6 @@ jobs:
2930

3031
- name: Run Trivy vulnerability scanner
3132
uses: aquasecurity/[email protected]
32-
continue-on-error: true
3333
with:
3434
scan-type: 'fs'
3535
ignore-unfixed: true
@@ -38,7 +38,6 @@ jobs:
3838

3939
- name: Upload Trivy scan results to GitHub Security tab
4040
uses: github/codeql-action/upload-sarif@v3
41-
continue-on-error: true
4241
with:
4342
sarif_file: 'trivy-results.sarif'
4443

0 commit comments

Comments
 (0)