UID2-7041: promote OCI tag only after attest+verify pass#231
Open
BehnamMozafari wants to merge 5 commits into
Open
UID2-7041: promote OCI tag only after attest+verify pass#231BehnamMozafari wants to merge 5 commits into
BehnamMozafari wants to merge 5 commits into
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
e10b549 to
125ddbd
Compare
…ure) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… (forced fail) captured Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
jon8787
approved these changes
May 14, 2026
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.
Summary
actions/attest_image@v3(SLSA attest +gh attestation verify) succeeds, rundocker buildx imagetools createto promote the digest to the consumable tag (1.2.3,latest). Closes the gap from PR UID2-6764: Add SLSA build provenance attestations to docker publish workflows #228 (UID2-6764) where the consumable tag escaped the policy gate if attest/verify failed.actions/shared_publish_to_docker/action.yaml) and the inline Java workflow (.github/workflows/shared-publish-java-to-docker-versioned.yaml).How the three paths route
if: success())not_snapshot=true,attestation_enabled=true)not_snapshot=false)attestation_enabled=false)Skipped steps count as success for downstream
if: success(), so the same promote step services all three "should-tag" paths without no explicit condition.Smoke evidence
Throwaway smoke harness (deleted in this PR's history) exercised both paths inline against this branch's code (local action refs, not
@v3):gh attestation verifyagainst the consumable tag passes.if: success()gate holds.Out of scope / follow-up
@v3promotion: after merge, move@v3forward viaupdate-major-version-tags.Test plan
update-major-version-tagsmoves@v3to this SHA🤖 Generated with Claude Code