STAC-24960 fix immutable image tag check#12
Open
LouisLotter wants to merge 1 commit into
Open
Conversation
a10dae9 to
a4fbe46
Compare
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.
Fixes the publish actions so immutable tag enforcement is based on the final release tag in the target registry, not only Docker/buildx resolver state for per-architecture staging tags.\n\nChanges:\n- Add a shared registry tag helper that checks the target registry with docker manifest inspect.\n- Keep docker buildx imagetools inspect as advisory resolver state and warn if it disagrees with the registry check.\n- Allow existing per-architecture staging tags to be overwritten when the final release tag is absent, so partial publishes can be completed.\n- Repeat the final release-tag guard in merge-multiarch before creating the multiarch manifest.\n- Add mocked unit coverage for existing final tags, missing final tags, stale resolver state, existing staging tags, and unknown registry state.\n- Trigger workflow/action security audit for .github/actions changes and add a focused publish-action unit test workflow.\n\nValidation:\n- bash -n .github/actions/shared/registry-tag-check.sh .github/actions/shared/registry-tag-check.test.sh\n- bash .github/actions/shared/registry-tag-check.test.sh\n- shellcheck .github/actions/shared/registry-tag-check.sh .github/actions/shared/registry-tag-check.test.sh\n- ruby YAML parse for action/workflow YAML\n- live Quay helper smoke check: existing final tag blocks, missing final tag with existing arch staging tag warns and allows\n- go test ./... in evaluator\n- go vet ./... in evaluator\n- uvx zizmor --collect=workflows,actions,dependabot .