Guides

Migrating to Native ARM

Before we released 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:

yaml
1
jobs:
2
docker-arm:
3
runs-on: buildjet-4vcpu-ubuntu-2204-arm
4
steps:
5
- uses: actions/checkout@v3
-
- name: Set up QEMU
-
uses: docker/setup-qemu-action@v2
8
- uses: docker/setup-buildx-action@v2
9
- uses: docker/login-action@v2
10
with:
11
username: ${{ secrets.DOCKERHUB_USERNAME }}
12
password: ${{ secrets.DOCKERHUB_TOKEN }}
13
- name: Build and push
14
uses: docker/build-push-action@v3
15
with:
16
context: .
17
platforms: linux/arm64
18
push: true