From 726e984e0e85f77c2eca32edfd269230e37b33bc Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 18 May 2023 14:20:04 +0100 Subject: [PATCH 1/2] Build arm docker image In theory (untested) --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf47104..3b54c3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,10 +39,14 @@ jobs: with: images: ghcr.io/${{ github.repository }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 + - name: Build and push docker image uses: docker/build-push-action@v2 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} From 5e9b9f27abb5d8a47f316668d1ef8361bfb547a8 Mon Sep 17 00:00:00 2001 From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com> Date: Thu, 18 May 2023 17:55:58 +0100 Subject: [PATCH 2/2] Update ci.yml Fixup indentation of ci.yaml file --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b54c3c..d921d43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,8 @@ jobs: with: images: ghcr.io/${{ github.repository }} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 - name: Build and push docker image uses: docker/build-push-action@v2