From babb8d33cecf088bd02a3f76fc6a215ccfd468b2 Mon Sep 17 00:00:00 2001 From: Seyit Zor Date: Wed, 20 Nov 2024 13:21:06 +0100 Subject: [PATCH] specify trivy db repository (#72) --- .github/workflows/push_to_docker/action.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push_to_docker/action.yaml b/.github/workflows/push_to_docker/action.yaml index 911679d..9a29da7 100644 --- a/.github/workflows/push_to_docker/action.yaml +++ b/.github/workflows/push_to_docker/action.yaml @@ -82,6 +82,8 @@ runs: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master + env: + TRIVY_DB_REPOSITORY: "ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db" with: image-ref: "docker.io/${{ inputs.tag }}" format: "table"