Skip to content

Commit

Permalink
ci: customize TRIVY_DB_REPOSITORY due to rate-limits on github
Browse files Browse the repository at this point in the history
  • Loading branch information
donch authored and Nicolasgouze committed Nov 8, 2024
1 parent d7f4c6d commit d5c2a8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
HARBOR_REPO: "kube-image-keeper/kube-image-keeper"
GHCR_IMAGE: "ghcr.io/enix/kube-image-keeper"
QUAY_IMAGE: "quay.io/enix/kube-image-keeper"
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -29,7 +30,6 @@ jobs:

- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
continue-on-error: true
with:
scan-type: 'fs'
ignore-unfixed: true
Expand All @@ -38,7 +38,6 @@ jobs:

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

Expand Down

0 comments on commit d5c2a8e

Please sign in to comment.