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 committed Oct 31, 2024
1 parent ef4905f commit 383608a
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/trivy-action@0.28.0
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 383608a

Please sign in to comment.