Skip to content

Run reproducible Trivy gates for maintained images - #4

Merged
prazgaitis merged 1 commit into
mainfrom
quovy/reliable-trivy-gate
Aug 13, 2026
Merged

Run reproducible Trivy gates for maintained images#4
prazgaitis merged 1 commit into
mainfrom
quovy/reliable-trivy-gate

Conversation

@prazgaitis

Copy link
Copy Markdown

Summary

Replace the Trivy setup action with the digest-pinned Trivy 0.66 container. The setup action's nested installer exited before the binary reached PATH, so the first image build completed but no scan ran.

The replacement:

  • scans the exact multi-arch manifest digest for both linux/amd64 and linux/arm64;
  • records complete High/Critical JSON evidence for each platform;
  • derives the Critical gate from those same reports, avoiding a second scan with a different database state;
  • emits a remediation-bearing error and prevents signing whenever Critical findings exist;
  • shares a per-job vulnerability database cache between the two platform scans.

Validation

  • Workflow YAML parses locally and passes git diff --check.
  • The Trivy image is pinned to the verified v0.66.0 multi-arch manifest digest already used for local candidate scans.

@prazgaitis
prazgaitis merged commit 1ab8bc8 into main Aug 13, 2026
@prazgaitis
prazgaitis deleted the quovy/reliable-trivy-gate branch August 13, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant