From ff2e27b3b0a6e5e00c7e1c80665e2061b653d9bb Mon Sep 17 00:00:00 2001 From: Simon Axelsson Date: Tue, 10 Nov 2026 16:33:55 +0000 Subject: [PATCH] =?UTF-8?q?fix(ci):=20trivy=20kr=C3=A4ver=20--entrypoint?= =?UTF-8?q?=20sh=20(annars=20'unknown=20command=20sh')?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml index a91db024..cd8358d5 100644 --- a/.gitea/workflows/security.yml +++ b/.gitea/workflows/security.yml @@ -63,7 +63,7 @@ jobs: # inte källkod. --ignorefile används bara när repot har en granskad # .trivyignore (annars faller trivy på en saknad fil). docker run --rm -v "$SCAN_VOLUME:/repo" -w /repo \ - aquasec/trivy:latest sh -c ' + --entrypoint sh aquasec/trivy:latest -c ' set -e common="fs --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --exit-code 1 --no-progress \ --skip-dirs /repo/node_modules --skip-dirs /repo/.next --skip-dirs /repo/dist \