Automating multi-arch docker image builds

What is the best practice in automating multi-architecture builds?

My understanding is that the main approach to build mulit-arch images is to use the experimental feature buildx. I don’t find that it is supported in automated builds on Docker Hub, but I see examples of using buildx in GitHub Actions. Is GitHub Actions the primary way to go?

What is used for automating official images builds? I see that official images are provided for multiple architectures, so I guess they are built with buildx, right?

1 Like

Any update to this unanswered question from two years ago? I just started using Docker Hub automated builds and ran into a amd64 warning on my M1 Mac.

I share my answer here too