From cab0e3ff2f2bf5dc95c71a7ca326932bae1910d0 Mon Sep 17 00:00:00 2001 From: James Tufarelli <8152401+Minituff@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:52:34 -0700 Subject: [PATCH] Add Arm64 support (#58) * Add QEMU * Add platforms to docker image --- .github/workflows/docker-image.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ffff9cdb..a8c0cd27 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -13,16 +13,20 @@ jobs: push_to_registries: name: Push Docker image to multiple registries runs-on: ubuntu-latest - # Sets the permissions granted to the GITHUB_TOKEN for the actions in this job. - permissions: + permissions: # Sets the permissions granted to the GITHUB_TOKEN for the actions in this job. packages: write contents: read steps: - - name: Check out the repo uses: actions/checkout@v4 - + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to Docker Hub uses: docker/login-action@v3.0.0 with: @@ -68,6 +72,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: |