fix(ci): retag loaded candidate images before push#282
Merged
c-vigo merged 1 commit intorelease/0.3.0from Mar 12, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes the release candidate publish job in the release workflow by ensuring the locally loaded (base-version) images are retagged to the candidate version tag before attempting to push them to GHCR. This aligns the local Docker tags created by docker load with the tags the workflow later pushes and uses for multi-arch manifests.
Changes:
- Retag each architecture image from
ghcr.io/vig-os/devcontainer:<base>-<arch>toghcr.io/vig-os/devcontainer:<publish>-<arch>beforedocker pushinrelease.yml. - Document the fix in the
0.3.0changelog under “Fixed”.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Retags loaded base-version images to candidate publish tags prior to pushing, preventing “tag does not exist locally” failures. |
CHANGELOG.md |
Adds a 0.3.0 “Fixed” entry describing the RC publish retagging fix (issue #281). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Description
Fix the candidate release publish failure where
release.ymlloads images tagged with base version (X.Y.Z-arch) but attempts to push candidate tags (X.Y.Z-rcN-arch) that do not exist locally.This change retags each loaded architecture image to the candidate tag before push and documents the fix in the
0.3.0changelog section.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.github/workflows/release.ymlSOURCE_IMAGE_TAG="$REPO:$BASE_VERSION-$arch"inLoad and push imagesdocker tag "$SOURCE_IMAGE_TAG" "$IMAGE_TAG"beforedocker pushCHANGELOG.md### Fixedentry under## [0.3.0] - TBDdescribing the candidate retag fix for#281Changelog Entry
Fixed
release.ymlnow tagsghcr.io/vig-os/devcontainer:X.Y.Z-archartifacts asX.Y.Z-rcN-archbeforedocker pushin candidate runsdocker loadTesting
just test)Manual Testing Details
just precommitsuccessfully (includes YAML/workflow checks and sync-manifest checks).Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Target branch for this PR is
release/0.3.0(release hotfix flow for issue#281).Refs: #281