From b211f5538324539403ace22d01382a525f54094f Mon Sep 17 00:00:00 2001 From: Maksim Nabokikh Date: Wed, 6 Nov 2024 14:56:36 +0100 Subject: [PATCH] Skip trivy db updates (#3829) Signed-off-by: Maksim Nabokikh --- .github/workflows/artifacts.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml index c0c90bfe3c..ec81b9f7b9 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/artifacts.yaml @@ -215,6 +215,9 @@ jobs: scan-type: 'fs' scan-ref: '.' cache-dir: "./cache" + env: + TRIVY_SKIP_DB_UPDATE: true + TRIVY_SKIP_JAVA_DB_UPDATE: true ## Trivy-db uses `0600` permissions. ## But `action/cache` use `runner` user by default