Skip to content

chore(deps): update trivy-action to v0.36.0 and pin Trivy v0.76.2 - #2517

Merged
muscariello merged 1 commit into
mainfrom
chore/trivy-action-v0.36.0
Nov 19, 2026
Merged

muscariello merged 1 commit into
mainfrom
chore/trivy-action-v0.36.0

Conversation

@muscariello

Copy link
Copy Markdown
Member

Moves the image scan to trivy-action v0.36.0 and pins the scanner to Trivy v0.76.2. This is the same change as agntcy/dir-staging#83.

Before After
aquasecurity/trivy-action 57a97c7e… v0.35.0 ed142fd0… v0.36.0
Trivy v0.69.3 (action default) v0.76.2 (version: input)

Renovate can't make this bump: the dependency dashboard (#1172) reports Failed to look up github-tags package aquasecurity/trivy-action. agntcy/oidc-gateway and agntcy/dir-staging show the same failure under the shared GitHub App token. A user token resolves the same lookup fine. trivy-action v0.36.0 is still the latest action release (April 2026) and defaults to Trivy v0.70.0, so the scanner version is pinned through the action's version input. The action inputs are the same as in v0.35.0.

Provenance

trivy-action's tags were all force-pushed in this year's supply-chain attack, so I checked both releases:

  • trivy-action v0.36.0: a GitHub-verified annotated tag signed by maintainer Nikita Pivkin (2026-04-22), pointing at ed142fd0673e97e23eac54620cfb913e5ce36c25. That commit is verified and is an ancestor of master.
  • Trivy v0.76.2: commit 3f6334d2, verified, the tip of release/v0.76; its release PR (release: v0.76.2 [release/v0.76] aquasecurity/trivy#11552) was merged by maintainer DmitriyLewen. cosign verify-blob accepts trivy_0.76.2_checksums.txt against its sigstore bundle, signed by aquasecurity/trivy's GitHub Actions release workflow.

Verification

I dispatched Container Security Scan on this branch (44569321713):

  • All 7 jobs pass, and the log shows trivy-binary-v0.76.2 installed for each image.
  • The per-image results match main's scheduled scan of 2026-11-19 03:03 UTC: dir-apiserver 0, dir-ctl 0, dir-reconciler 0, postgresql 1, zot 7.
  • The same pin is already live in agntcy/dir-staging, where the scan on main passed all 17 jobs with unchanged results.

The branch run uploaded its results under refs/heads/chore/trivy-action-v0.36.0, so main's alerts are unaffected.

Not changed

TRIVY_VERSION in Taskfile.vars.yml (0.69.3, used by the local deps:vuln tasks) has no # renovate: comment and stays as it is.

Renovate cannot look up aquasecurity/trivy-action with the project GitHub App token (no-result on the dependency dashboard), so this bump is made by hand. trivy-action v0.36.0, the latest action release, defaults to Trivy v0.70.0, so the scanner is pinned to v0.76.2 through the action's version input. The action inputs are unchanged from v0.35.0.

Signed-off-by: Luca Muscariello <[email protected]>
@muscariello
muscariello requested a review from a team as a code owner November 19, 2026 16:45
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Nov 19, 2026
@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@muscariello
muscariello added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 7cefe96 Nov 19, 2026
43 checks passed
@muscariello
muscariello deleted the chore/trivy-action-v0.36.0 branch November 19, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants