From d4bdd6731215e1a3be2b06df82f891f801a40628 Mon Sep 17 00:00:00 2001 From: RemiRigal Date: Tue, 23 Aug 2022 09:34:48 +0200 Subject: [PATCH] Add arm-based docker images --- .github/workflows/dockerhub_build_push.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dockerhub_build_push.yml b/.github/workflows/dockerhub_build_push.yml index f6aac80..60e8705 100644 --- a/.github/workflows/dockerhub_build_push.yml +++ b/.github/workflows/dockerhub_build_push.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -29,10 +29,12 @@ jobs: type=ref,event=branch type=ref,event=tag - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: + context: . push: true tags: ${{ steps.meta.outputs.tags }} + platforms: linux/amd64,linux/arm64,linux/arm - name: Checkout repository uses: actions/checkout@v3 - name: Update repo description