Migrating to Native ARM
Before we relased our ARM runners, all GitHub Actions users had to run on x86_64. Most users who wanted to build for ARM used the QEMU action provided by the docker team. As now have native ARM support, users can remove this and expect their builds to run on ARM.
Simply remove the QEMU step:
jobs:
docker-arm:
runs-on: buildjet-4vcpu-ubuntu-2204-arm
steps:
- uses: actions/[email protected]
# Remove this step as you don't need QEMU anymore
- name: Set up QEMU
uses: docker/[email protected]
- uses: docker/[email protected]
- uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/[email protected]
with:
context: .
platforms: linux/arm64
push: true