Skip to content

Commit a728fc9

Browse files
authored
Merge pull request #1614 from NASA-AMMOS/dev/alternate-trivy-db
use alternate repository for trivy vulnerabilities DB in Publish workflow
2 parents aac03db + 525d30f commit a728fc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ jobs:
151151

152152
- name: Scan ${{ matrix.image }} for vulnerabilities
153153
uses: aquasecurity/trivy-action@0.24.0
154+
env:
155+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
156+
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
154157
with:
155158
image-ref: ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ matrix.image }}:develop
156159
ignore-unfixed: true

0 commit comments

Comments
 (0)