Repository navigation
chore(workflows): move the five image pins after the trufflehog and syft bumps - #85
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.Where the digests came from
The
6c5e9c5build's own cosign step (run 39321887780), which issteps.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 whoselatestindex 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, withbetterleaks 1.9.0andosv-scanner 2.7.0unchangedskill-audit-toolbox@c10bc174→SkillSpector v2.13.0So callers of these five reusable workflows get the tools
tools.lockclaims, 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