Skip to content

Commit

Permalink
🩹 Use Public ECR for Trivy artifacts (#276)
Browse files Browse the repository at this point in the history
:plaster: Use Public ECR for Trivy artifacts
  • Loading branch information
Gary-H9 authored Oct 7, 2024
1 parent 47d3d68 commit 06cc4fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/scan-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
if: failure() && steps.scan_image.outcome == 'failure'
id: scan_image_on_failure
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0
env:
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: ingestion-scan
exit-code: 1
Expand Down

0 comments on commit 06cc4fb

Please sign in to comment.