setup-qemu-action
setup-qemu-action copied to clipboard
Purpose of this action?
Description
In all examples I always see this action used like this:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
But if I omit this action, and just use:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
I can still build ARM64 images using QEMU via Buildx.
So what is the exact purpose of this action? Was it something that was needed in the past and now has become obsolete?
Also curious to see an answer here 🙏
If you need to build an image for a platform that is not supported by buildkit, you can configure QEMU and virtualize it. https://github.com/docker/buildx#building-multi-platform-images
Supported virtual platforms: https://wiki.qemu.org/Documentation/Platforms