Skip to content

Conversation

@jserv
Copy link
Collaborator

@jserv jserv commented Nov 4, 2024

When pulling a base image from Docker Hub, the architecture defaults to that of the native host, which is typically x86_64 or amd64 on GitHub runners. Since the run-on-arch-action GitHub Action aims to run shecc on an Armv7 Ubuntu image, it attempts to pull the native host manifest (either x86_64 or amd64), resulting in a 'no match for platform in manifest' error unless the --platform option is specified. Therefore, specifying the --platform option as linux/armv7 resolves this issue.

When pulling a base image from Docker Hub, the architecture defaults to
that of the native host, which is typically x86_64 or amd64 on GitHub
runners. Since the run-on-arch-action GitHub Action aims to run shecc on
an Armv7 Ubuntu image, it attempts to pull the native host manifest
(either x86_64 or amd64), resulting in a 'no match for platform in
manifest' error unless the --platform option is specified. Therefore,
specifying the --platform option as linux/armv7 resolves this issue.
@jserv jserv merged commit 16484f2 into master Nov 4, 2024
8 checks passed
@jserv jserv deleted the ci-fixup branch November 4, 2024 17:58
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