Skip to content

fix(hub): pin and verify multiarchitecture production images - #19

Merged
nshki merged 3 commits into
mainfrom
copilot/verify-multiarch-images
Oct 16, 2026
Merged

nshki merged 3 commits into
mainfrom
copilot/verify-multiarch-images

Conversation

Copilot AI commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

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 image check 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.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI max review requested due to automatic review settings October 16, 2026 20:38
Copilot AI requested review from a team and nshki as code owners October 16, 2026 20:38

This comment was marked as duplicate.

Copilot AI requested a max review from Copilot October 16, 2026 20:38

This comment was marked as duplicate.

Copilot AI added 2 commits October 16, 2026 20:47
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI requested a max review from Copilot October 16, 2026 22:05

This comment was marked as duplicate.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The restructured GHCR publication flow remains unexercised and needs human verification.

No open issues 🎉

Review effort: Max

@nshki
nshki merged commit ab5358a into main Oct 16, 2026
30 checks passed
@nshki
nshki deleted the copilot/verify-multiarch-images branch October 16, 2026 22:31
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.

4 participants