Skip to content

Commit 15db31e

Browse files
committed
gh: pull trivy-db from AWS registry
The default ghcr.io registry for trivy-db "image" gets frequent "toomanyrequest" rate-limiting errors and blocks our workflows. Until that gets properly fixed, move to use an alternative repository provided by Aqua Security. Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 99ef5bb commit 15db31e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/lib-trivy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ jobs:
9090
list-all-pkgs: true
9191
format: json
9292
output: trivy-report.json
93+
env:
94+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
9395
- name: Show report in human-readable format
9496
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # 0.28.0
9597
with:

0 commit comments

Comments
 (0)