Skip to content

ci: Only force linux/amd64 for legacy rstudio/* images#44

Merged
nealrichardson merged 2 commits into
mainfrom
drop-amd64-platform-pin
May 20, 2026
Merged

ci: Only force linux/amd64 for legacy rstudio/* images#44
nealrichardson merged 2 commits into
mainfrom
drop-amd64-platform-pin

Conversation

@bschwedler

@bschwedler bschwedler commented May 18, 2026

Copy link
Copy Markdown
Contributor

The legacy rstudio/* Docker Hub images and their ghcr.io/rstudio/* mirrors are amd64-only, so without an explicit platform pin the pull fails on arm64 hosts with no matching manifest for linux/arm64/v8. Modern ghcr.io/posit-dev/* and posit/* images ship multi-arch manifests.

Scope the platform pin to rstudio/ and ghcr.io/rstudio/ namespaces only. On amd64 hosts behavior is unchanged. On arm64 hosts, modern images now run natively instead of through Rosetta/QEMU emulation.

Base automatically changed from ghcr-image-migration to main May 19, 2026 16:08
The legacy rstudio/* Docker Hub images and their ghcr.io/rstudio/*
mirrors are amd64-only, so without an explicit platform pin the pull
fails on arm64 hosts with "no matching manifest for linux/arm64/v8".
Modern ghcr.io/posit-dev/* and posit/* images ship multi-arch
manifests.

Scope the platform pin to rstudio/ and ghcr.io/rstudio/ namespaces.
On amd64 hosts behavior is unchanged. On arm64 hosts, modern images
now run natively instead of through Rosetta/QEMU emulation.
@nealrichardson nealrichardson force-pushed the drop-amd64-platform-pin branch from 8adb1ab to d131f95 Compare May 19, 2026 16:09

@nealrichardson nealrichardson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This makes sense in principle. Do you think we could add a test to ci.yml that would confirm that we can run the arm images? Or something that is a better test?

Add ubuntu-24.04-arm to test-action's runner matrix and drop the
explicit version: 2024.08.0 input so the default resolves to
ghcr.io/posit-dev/connect:latest. That image is multi-arch, so the
new "let multi-arch resolve natively" code path runs natively on
both runners instead of needing amd64 emulation on arm64.

test-cli is unchanged: its --version 2024.08.0 covers the CLI entry
point and the legacy version mapping.
@bschwedler

Copy link
Copy Markdown
Contributor Author

I updated the test-action to use a matrix so it runs on both architectures.

@bschwedler bschwedler requested a review from nealrichardson May 19, 2026 21:56
@bschwedler bschwedler force-pushed the drop-amd64-platform-pin branch from 7ed38ca to 443be58 Compare May 19, 2026 21:56
@nealrichardson nealrichardson merged commit 0783dab into main May 20, 2026
5 checks passed
@nealrichardson nealrichardson deleted the drop-amd64-platform-pin branch May 20, 2026 11:59
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.

2 participants