Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable arm images with Docker #146

Open
bdovaz opened this issue May 31, 2022 · 1 comment
Open

Enable arm images with Docker #146

bdovaz opened this issue May 31, 2022 · 1 comment

Comments

@bdovaz
Copy link
Contributor

bdovaz commented May 31, 2022

@ahmadnassri I use a self hosted runner (Raspberry Pi) but I can't use it with this docker image because it's only published with linux/amd64 platform:

https://hub.docker.com/r/ahmadnassri/action-dependabot-auto-merge/tags

I suppose that you can also push it with linux/arm/v7 because you rely on:

https://hub.docker.com/layers/node/library/node/alpine/images/sha256-3578f30580a34df5aba2db0a55f72aeae3c5bc572ca657ea260639be35e36996?context=explore

This image supports:

  • linux/arm/v6
  • linux/arm/v7
  • linux/arm64/v8

So your image should also support this.

More information:

https://docs.docker.com/desktop/multi-arch/

Example:

docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t username/demo:latest --push .

@bdovaz
Copy link
Contributor Author

bdovaz commented May 31, 2022

I have just created a PR

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

No branches or pull requests

1 participant