From 0975574f6690fed550f7068c8dacfc52c8c9fd3b Mon Sep 17 00:00:00 2001 From: Logan Marchione Date: Sat, 16 Apr 2022 21:36:03 -0400 Subject: [PATCH] Add multi-arch builds --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e342156..8a99eb1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,6 +68,9 @@ jobs: VER=$(cat VERSION) echo "VERSION=$VER" >> $GITHUB_ENV + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -84,6 +87,7 @@ jobs: push: true context: . file: Dockerfile + platforms: linux/amd64,linux/arm64,linux/arm/v7 tags: | ${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }} ${{ env.USER }}/${{ env.REPO }}:latest