Skip to content

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

Open
gaslitbytech wants to merge 2 commits into
djrobstep:masterfrom
gaslitbytech:215-docker-build-multi-platforms
Open

#218 use buildx to build for both amd64 and arm64.#221
gaslitbytech wants to merge 2 commits into
djrobstep:masterfrom
gaslitbytech:215-docker-build-multi-platforms

Conversation

@gaslitbytech

@gaslitbytech gaslitbytech commented Nov 18, 2022

Copy link
Copy Markdown

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

gaslitbytech commented Nov 19, 2022

Copy link
Copy Markdown
Author

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
Copy Markdown

@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
Copy Markdown

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