From 85db664756ddde6c757c5857c6b072c0c20996ab Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 7 Aug 2024 23:46:12 +0300 Subject: [PATCH] docker: Reintroduce cross-platform builds --- .github/workflows/main-docker.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml index c50374614..9f1b7154c 100644 --- a/.github/workflows/main-docker.yml +++ b/.github/workflows/main-docker.yml @@ -67,6 +67,14 @@ jobs: runs-on: ubuntu-latest needs: - test_docker + strategy: + fail-fast: true + matrix: + platform: + - linux/amd64 + - linux/arm64 + - linux/arm/v7 + - linux/arm/v6 permissions: contents: read packages: write @@ -107,6 +115,7 @@ jobs: id: ghcr-push with: context: . + platforms: ${{ matrix.platform }} push: true tags: ${{ steps.ghcr-meta.outputs.tags }} labels: ${{ steps.ghcr-meta.outputs.labels }} @@ -129,6 +138,7 @@ jobs: id: dh-push with: context: . + platforms: ${{ matrix.platform }} push: true tags: ${{ steps.dh-meta.outputs.tags }} labels: ${{ steps.dh-meta.outputs.labels }}