Repository navigation
fix(hub): pin and verify multiarchitecture production images - #19
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
nshki
approved these changes
Oct 16, 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.
Why
The production Ruby and Node image tags could resolve to different contents without a source change. Pinning their official multiarchitecture indexes addresses code-scanning alerts 3 and 4 while retaining the current runtime tracks.
What changes
Hub CI builds AMD64 and ARM64 images in parallel from one job definition on native runners, avoiding QEMU overhead. Each image must pass the existing image checks and start successfully. The unchanged
Production imagecheck requires both architectures to pass and permits skipped builds only when suite selection explicitly excludes Hub.Releases also build each architecture on its native runner, using one validated version and immutable source revision. Build jobs publish by digest without updating release tags. One final job combines both digests and applies the existing stable or prerelease tags, then uploads the deployment bundle once. A failed architecture blocks that job. Release publication has not been exercised against GHCR; no release was triggered.
The maintenance guide explains refreshing image tags and digests together. Existing Dependabot configuration does not update Docker images; no new update process is added.
Alert 5 remains unchanged. Bundler deployment mode already freezes dependencies; the image's Bundler rejected inconsistent and missing lockfiles without rewriting them. The scanner rule should recognize deployment mode rather than require redundant configuration.