Skip to content

Commit

Permalink
Merge pull request #1614 from NASA-AMMOS/dev/alternate-trivy-db
Browse files Browse the repository at this point in the history
use alternate repository for trivy vulnerabilities DB in Publish workflow
  • Loading branch information
dandelany authored Dec 6, 2024
2 parents aac03db + 525d30f commit a728fc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ jobs:

- name: Scan ${{ matrix.image }} for vulnerabilities
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
with:
image-ref: ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}:develop
ignore-unfixed: true
Expand Down

0 comments on commit a728fc9

Please sign in to comment.