From 58a040cb345ef39a35fd5f220d5d5204a380eae1 Mon Sep 17 00:00:00 2001 From: edlib-oddarne Date: Wed, 14 Oct 2026 10:03:33 +0200 Subject: [PATCH] Add QEMU setup and multi-platform build support to GitHub workflows --- .github/workflows/contentauthor.yaml | 5 +++++ .github/workflows/hub.yaml | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/contentauthor.yaml b/.github/workflows/contentauthor.yaml index 393e433ce..b411a54a9 100644 --- a/.github/workflows/contentauthor.yaml +++ b/.github/workflows/contentauthor.yaml @@ -122,6 +122,9 @@ jobs: username: cerpusbot password: ${{ secrets.CERPUSBOT_SECRET }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Buildx uses: docker/setup-buildx-action@v3 @@ -145,6 +148,7 @@ jobs: cache-from: type=gha,scope=contentauthor cache-to: type=gha,scope=contentauthor,mode=max context: sourcecode/apis/contentauthor + platforms: linux/amd64,linux/arm64 push: true target: prod tags: ${{ steps.php_meta.outputs.tags }} @@ -165,6 +169,7 @@ jobs: with: cache-from: type=gha,scope=contentauthor context: sourcecode/apis/contentauthor + platforms: linux/amd64,linux/arm64 push: true target: web tags: ${{ steps.web_meta.outputs.tags }} diff --git a/.github/workflows/hub.yaml b/.github/workflows/hub.yaml index 9cf030fff..b2c926e74 100644 --- a/.github/workflows/hub.yaml +++ b/.github/workflows/hub.yaml @@ -151,6 +151,10 @@ jobs: registry: ghcr.io username: cerpusbot password: ${{ secrets.CERPUSBOT_SECRET }} + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Buildx uses: docker/setup-buildx-action@v3 - name: Checkout @@ -173,6 +177,7 @@ jobs: cache-from: type=gha,scope=hub cache-to: type=gha,scope=hub,mode=max context: sourcecode/hub + platforms: linux/amd64,linux/arm64 push: true target: prod tags: ${{ steps.php_meta.outputs.tags }} @@ -193,6 +198,7 @@ jobs: with: cache-from: type=gha,scope=hub context: sourcecode/hub + platforms: linux/amd64,linux/arm64 push: true target: web tags: ${{ steps.web_meta.outputs.tags }}