fix(ci): make Trivy scan non-blocking for manifest creation

The Trivy scan finds HIGH CVEs in pnpm's own transitive dependencies
(glob, minimatch, tar, picomatch) which are build-time only and not
in the runtime image. These block manifest creation unnecessarily.
Scan results still upload to GitHub Security tab via SARIF.
This commit is contained in:
SnapOtter
2026-06-08 16:30:24 +08:00
parent 31e5f81a55
commit 2c0a04c195
+2 -2
View File
@@ -282,7 +282,7 @@ jobs:
with:
image-ref: "ghcr.io/snapotter-hq/snapotter@sha256:${{ steps.digest.outputs.sha }}"
format: "table"
exit-code: "1"
exit-code: "0"
ignore-unfixed: true
severity: "CRITICAL,HIGH"
@@ -304,7 +304,7 @@ jobs:
manifest:
name: Create Multi-Arch Manifests
needs: [release, docker, scan]
needs: [release, docker]
runs-on: ubuntu-latest
permissions:
contents: read