From 7afea1721d19ea899b82c304b2237a4474fd565c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sat, 11 May 2024 23:40:06 +0300 Subject: [PATCH] chore(docker): enable arm64 builds (#280) This reverts commit d57ed1125fe2eb992465d8df354d19b2800663a5. --- .github/workflows/docker.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 264398ce..8a584424 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -35,6 +35,11 @@ jobs: type=raw,value=latest type=semver,pattern={{version}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: arm64 + - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 @@ -68,7 +73,7 @@ jobs: with: context: ./ file: ./Dockerfile - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 builder: ${{ steps.buildx.outputs.name }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }}