Skip to content

Commit 51affaa

Browse files
authored
[CI] Update Trivy repositories
This commit is a workaround for the TOOMANYREQUESTS issue currently breaking Trivy scan workflow.
1 parent c0692e1 commit 51affaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/trivy-scan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
runs-on: ubuntu-latest
3535
env:
3636
LOCAL_REPOSITORY_PATH: ./build/publications/repos
37+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db
38+
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db,aquasec/trivy-java-db,ghcr.io/aquasecurity/trivy-java-db
3739
steps:
3840
- uses: actions/checkout@v4
3941
- uses: spring-io/spring-gradle-build-action@v2

0 commit comments

Comments
 (0)