Skip to content

chore(workflows): move the five image pins after the trufflehog and syft bumps - #85

Merged
garymike merged 1 commit into
mainfrom
chore/refresh-digests-after-tool-bumps
Oct 19, 2026
Merged

garymike merged 1 commit into
mainfrom
chore/refresh-digests-after-tool-bumps

Conversation

@garymike

Copy link
Copy Markdown
Owner

The second half of #83 and #84, done once for both rather than twice.

Per #73 these pins move deliberately alongside toolbox/tools.lock. The new digest does not exist until the merge has published, so this is always a follow-up commit, never part of the bump.

security-toolbox-base   277509734f39 -> d2f1d6b33d9c
gha-toolbox             11a57ab006ec -> 7e6558f3b46c
sast-toolbox            0a6a072f8b81 -> 6bf6d9aafd5a
iac-toolbox             5e11ff268f53 -> bc4198b93fcc
skill-audit-toolbox     37ee2e494596 -> c10bc17412a2

Where the digests came from

The 6c5e9c5 build's own cosign step (run 39321887780), which is steps.build.outputs.digest — the convention #73 used. Each of the five pins is asserted equal to the digest that build emitted for that image, not eyeballed.

Deliberately not from podman inspect. That reports the platform manifest digest, which differs from the registry index digest for images whose latest index carries attestations. In #82 three of five happened to agree and two did not, which is exactly the kind of coincidence that makes a wrong pin look verified.

Verified behind the new pins

Ran the images, rather than trusting that a green build means the right contents:

  • security-toolbox-base@d2f1d6b3 → trufflehog 3.99.3, syft 1.55.0, with betterleaks 1.9.0 and osv-scanner 2.7.0 unchanged
  • skill-audit-toolbox@c10bc174 → SkillSpector v2.13.0

So callers of these five reusable workflows get the tools tools.lock claims, which is the whole point of the pin.

The control still does not exist

Third time this step has been needed today, second time it was remembered. #80 and #81 both missed it and #82 was the cleanup; #83 and #84 flagged it up front, which is why this PR exists at all rather than being discovered next week.

That is a process working by vigilance, not by design. As noted in #82, the right home is build-toolbox.yml — it already has both the digest it just built and the pin sitting in the tree, so the comparison needs no registry lookup and cannot hit the index-vs-manifest ambiguity that made my attempted drift-gate check false-red. It touches the publish path #73 deliberately kept clear, so it stays your call.

🤖 Generated with Claude Code

…yft bumps

The second half of #83 and #84, done once for both rather than twice. Per #73
these pins move deliberately alongside toolbox/tools.lock; the new digest does
not exist until the merge has published, so it is always a follow-up commit.

Digests taken from the 6c5e9c5 build's own cosign step (run 39321887780),
which is steps.build.outputs.digest -- the convention #73 used. Deliberately
NOT from `podman inspect`: that reports the platform manifest digest, which
differs from the registry index digest for images whose latest index carries
attestations, and in #82 three of five happened to agree and two did not.
Each of the five pins is asserted equal to the digest that build emitted for
that image.

Verified the images behind the new pins actually carry the bumps:
security-toolbox-base ships trufflehog 3.99.3 and syft 1.55.0 (betterleaks
1.9.0 and osv-scanner 2.7.0 unchanged), and skill-audit-toolbox still ships
SkillSpector v2.13.0.

Third time this step has been needed and the second time it was remembered.
The control for it still does not exist; see the note in #82 about
build-toolbox.yml being the right home, since it already holds both the
digest it just built and the pin sitting in the tree.

Co-Authored-By: Claude Opus 5 <[email protected]>
@garymike
garymike merged commit bcbe251 into main Oct 19, 2026
9 checks passed
@garymike
garymike deleted the chore/refresh-digests-after-tool-bumps branch October 19, 2026 21:03
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