Upload each image once and copy its release aliases #4

Merged
wayfinderak merged 2 commits from fix/canonical-first-publication-20261015 into master 2026-10-15 03:54:26 +00:00
Owner

Concurrent pushes of a new image under several tags produced registry unknown errors even after the canonical SHA tag succeeded. Upload that canonical image once, then use Docker Buildx imagetools to copy its existing manifest to every release alias. --prefer-index=false preserves the single image manifest and digest; build, source labels and tag selection stay unchanged.

Validation: a disposable registry proof produced identical raw manifest hashes for the canonical image and all three aliases. The actual workflow step also passed process fixtures for branch tags, version tags, a canonical-only tag set, canonical push failure and manifest-copy failure. Bash syntax and whitespace checks passed. Native publication remains pending.

Concurrent pushes of a new image under several tags produced registry `unknown` errors even after the canonical SHA tag succeeded. Upload that canonical image once, then use Docker Buildx imagetools to copy its existing manifest to every release alias. `--prefer-index=false` preserves the single image manifest and digest; build, source labels and tag selection stay unchanged. Validation: a disposable registry proof produced identical raw manifest hashes for the canonical image and all three aliases. The actual workflow step also passed process fixtures for branch tags, version tags, a canonical-only tag set, canonical push failure and manifest-copy failure. Bash syntax and whitespace checks passed. Native publication remains pending.
Push canonical image before publishing aliases
All checks were successful
Build and Push Container / build-and-push (pull_request) Successful in 16s
45ea42830d
Copy the published manifest to release aliases
All checks were successful
Build and Push Container / build-and-push (pull_request) Successful in 14s
c32fd678b3
wayfinderak changed title from Push the canonical image before release aliases to Upload each image once and copy its release aliases 2026-10-15 03:46:27 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
wayfinderak/Geeksbot!4
No description provided.