Skip to content

Commit

Permalink
Merge pull request #1023 from nscuro/trivy-ratelimit-fix
Browse files Browse the repository at this point in the history
Work around ghcr.io rate limiting for Trivy database downloads
  • Loading branch information
nscuro authored Oct 1, 2024
2 parents 79c5966 + d1d5bec commit f216b60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/_meta-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ jobs:
- name: Run Trivy Vulnerability Scanner
if: ${{ inputs.publish-container }}
uses: aquasecurity/trivy-action@0.24.0
env:
# https://github.com/aquasecurity/trivy-action/issues/389
TRIVY_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-db:2'
TRIVY_JAVA_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-java-db:1'
with:
image-ref: docker.io/dependencytrack/frontend:${{ inputs.app-version }}
format: 'sarif'
Expand Down

0 comments on commit f216b60

Please sign in to comment.