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

#218 use buildx to build for both amd64 and arm64. #221

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gaslitbytech
Copy link

@gaslitbytech gaslitbytech commented Nov 18, 2022

I believe this small change will help enable multi platform docker images to be pushed to dockerhub.

buildx is now installed on Docker for Mac + Docker for Windows by default

If this helps the process of publishing to dockerhub it will close #218

This has been tested on MacOS with intel (amd64) architecture.

@gaslitbytech gaslitbytech changed the title #215 use buildx to build for both amd64 and arm64. #218 use buildx to build for both amd64 and arm64. Nov 18, 2022
@gaslitbytech
Copy link
Author

gaslitbytech commented Nov 19, 2022

Tested this using my docker account.

I added a few lines that may save branches / tests being pushed to latest accidentally.

Images are temporarily pushed to dockerhub and will I'll remove once you have a chance to see that it works.

https://hub.docker.com/r/montage/migra/tags

Edit: wrong URL

@willopez
Copy link

@djrobstep could we get this PR merged? it would solve the an issue where this image will fail if containerd is enabled in Docker desktop on an M1 chip. supabase/cli#1027

@iamkhalidbashir
Copy link

yes

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.

Docker Image 3.0.1663074851 is specified for target linux/arm64/v8
3 participants