fix(ci): trivy kräver --entrypoint sh (annars 'unknown command sh')
masterplan-lock / check (push) Successful in 21s
security / scan (pull_request) Failing after 40s
masterplan-lock / check (pull_request) Successful in 49s

This commit is contained in:
2026-11-10 16:33:55 +00:00
parent bfa8d5dffd
commit ff2e27b3b0
+1 -1
View File
@@ -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 \