Skip to content

Commit

Permalink
Merge pull request etcd-io#18688 from k8s-infra-cherrypick-robot/cher…
Browse files Browse the repository at this point in the history
…ry-pick-18672-to-release-3.4

[3.4] github/workflows: use ECR mirror for Trivy's DB
  • Loading branch information
jmhbnz authored Oct 5, 2024
2 parents fe7d190 + 4f7e602 commit b360989
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ jobs:
severity: 'CRITICAL,HIGH'
format: 'sarif'
output: 'trivy-results-${{ matrix.platforms }}.sarif'
env:
# Use AWS' ECR mirror for the trivy-db image, as GitHub's Container
# Registry is returning a TOOMANYREQUESTS error.
# Ref: https://github.com/aquasecurity/trivy-action/issues/389
TRIVY_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-db:2'
- name: upload scan results
uses: github/codeql-action/upload-sarif@956f09c2ef1926b580554b9014cfb8a51abf89dd # v2.16.6
with:
Expand Down

0 comments on commit b360989

Please sign in to comment.