Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1002: Use ECR fallback repository for Trivy caching #1004

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/update_trivy_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:

- name: Fetch trivy databases
run: |
trivy image --download-java-db-only
trivy image --download-db-only
trivy image --download-java-db-only || (echo "Falling back to ECR repository...." && trivy image --download-java-db-only --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db)
trivy image --download-db-only || (echo "Falling back to ECR repository....." && trivy image --download-db-only --db-repository public.ecr.aws/aquasecurity/trivy-db)

- name: Create tar gz databases
run: |
Expand Down
2 changes: 1 addition & 1 deletion doc/changes/changes_8.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This release uses version 1.0.0 of the container tool.
## Bugs
- #977: Fixed Trivy update cache workflow
- #993: Added escape sequence for backslash in new Script Options parser

- #1002: Use ECR fallback repository for Trivy caching
## Doc

- #954: added release checklist