From a97da795c8767f57ee7d24d6170c49638830a31b Mon Sep 17 00:00:00 2001 From: Maya the bee <15341887+Nurrl@users.noreply.github.com> Date: Fri, 2 Feb 2024 19:02:02 +0100 Subject: [PATCH] Add multiarch Docker build --- .github/workflows/container.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index ab22a2ff..a21397d8 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -19,6 +19,11 @@ jobs: - name: Checkout repository 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 the Container registry uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d with: @@ -36,6 +41,7 @@ jobs: uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}