docker-build-with-cache-action icon indicating copy to clipboard operation
docker-build-with-cache-action copied to clipboard

Multi-Platform Docker Builds

Open mdegis opened this issue 4 years ago • 4 comments

Currently, I did not find any settings or variables that could be used to trigger multi-platform Docker builds.

With M1 MBPs, arm64 architecture is (and will be more) mainstream IMO. Is this something you considered to support near-future?

mdegis avatar Jan 14 '21 13:01 mdegis

You have a very valid point @mdegis . I will take a look sometime soon. I think we need docker buildx to do so. Feel free to make suggestions/PR.

whoan avatar Jan 14 '21 15:01 whoan

@mdegis I think this action does what you want: https://github.com/docker/setup-buildx-action

whoan avatar Feb 13 '21 07:02 whoan

Can docker/setup-buildx-action be used with this action? I can't see how

hingston avatar May 02 '21 12:05 hingston

any love for this?

lukasa1993 avatar Aug 17 '22 07:08 lukasa1993

I gave it a try to this one (again) and still think it's a very big effort. Are there many people looking for this feature? If so, could you please share some use cases?

whoan avatar Oct 25 '22 18:10 whoan

We are also looking for this feature. Many people use the docker setup of our tool cBioPortal (https://github.com/cBioPortal/cbioportal) on their local machines during development. We are seeing more and more people on the new Apple Macbooks

inodb avatar Nov 08 '22 18:11 inodb

I am not going to implement this for the moment. Closing for now.

whoan avatar Jun 04 '23 20:06 whoan

Please see v8. Now this action uses BuildKit by default so you can provide any option to buildx through build_extra_args input. Hope that helps.

whoan avatar Oct 24 '23 18:10 whoan

Awesome!! Thanks so much @whoan !

inodb avatar Oct 25 '23 20:10 inodb