Skip to content

STAC-24960 fix immutable image tag check#12

Open
LouisLotter wants to merge 1 commit into
mainfrom
STAC-24960-fix-immutable-tag-check
Open

STAC-24960 fix immutable image tag check#12
LouisLotter wants to merge 1 commit into
mainfrom
STAC-24960-fix-immutable-tag-check

Conversation

@LouisLotter

Copy link
Copy Markdown
Contributor

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 .

@LouisLotter LouisLotter requested a review from a team as a code owner June 8, 2026 17:10
@LouisLotter LouisLotter force-pushed the STAC-24960-fix-immutable-tag-check branch from a10dae9 to a4fbe46 Compare June 8, 2026 18: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