Skip to content

Commit

Permalink
Merge pull request #340 from mimiro-io/fix/trivy-rate-limit
Browse files Browse the repository at this point in the history
add fallback repository for trivy
  • Loading branch information
rompetroll authored Nov 7, 2024
2 parents 66f0848 + 0b7df8c commit 4ed6d96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ jobs:

- name: Trivy vulnerability scan
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
with:
image-ref: "${{ steps.image_tag.outputs.image_tag }}"
format: "table"
Expand Down Expand Up @@ -202,6 +205,9 @@ jobs:

- name: Trivy vulnerability scan
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
with:
image-ref: "${{ steps.image_tag.outputs.image_tag }}"
format: "table"
Expand Down

0 comments on commit 4ed6d96

Please sign in to comment.