We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ac57e commit 71eec41Copy full SHA for 71eec41
.github/workflows/trivy.yaml
@@ -23,7 +23,7 @@ on:
23
required: false
24
REGISTRY_PASSWORD:
25
26
-
+
27
jobs:
28
trivy:
29
env:
@@ -36,7 +36,12 @@ jobs:
36
uses: actions/checkout@v4
37
38
- name: Image Scan
39
- uses: aquasecurity/trivy-action@master
+ uses: aquasecurity/trivy-action@0.28.0
40
+ # Due to rate limiting faced by aquasecurity/trivy-action#389 we download the DBs
41
+ # from the public ECR repository
42
+ env:
43
+ TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
44
+ TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
45
with:
46
image-ref: "${{ inputs.registry }}/${{ inputs.namespace }}/${{ inputs.name }}:${{ inputs.tag }}"
47
format: 'sarif'
0 commit comments