Skip to content

Commit d32c85f

Browse files
authored
use db mirror (#75)
Signed-off-by: chipzoller <chipzoller@gmail.com>
1 parent 8fb3c13 commit d32c85f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ jobs:
126126
IMAGE: "${{ needs.build.outputs.image }}"
127127
steps:
128128
- name: Scan for vulnerabilities
129-
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # v0.20.0 (Trivy v0.51.1)
130-
with:
129+
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # v0.28.0 (Trivy v0.56.1)
130+
env:
131+
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
132+
with:
131133
image-ref: ${{ env.IMAGE }}
132134
format: cosign-vuln
133135
ignore-unfixed: true

0 commit comments

Comments
 (0)