From 9da1e1c76b3c1448b1d1daef723d454f049b4e6d Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 9 Oct 2026 10:39:49 +0200 Subject: [PATCH] ci: publish the amd64 image only Build and push linux/amd64 only, as publish-tzdata.yaml does: the arm64 build ran under QEMU. --- .github/workflows/publish-ghcr-container.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-ghcr-container.yaml b/.github/workflows/publish-ghcr-container.yaml index a098e1f3..10893380 100644 --- a/.github/workflows/publish-ghcr-container.yaml +++ b/.github/workflows/publish-ghcr-container.yaml @@ -47,9 +47,6 @@ jobs: IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-$PGVERSION:$VERSION" echo "NAME=$IMAGE" >> $GITHUB_OUTPUT - - name: Set up QEMU - uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 - - name: Set up Docker Buildx uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 @@ -73,10 +70,10 @@ jobs: run: | bash postgres-appliance/tests/test_spilo.sh - - name: Build arm64 additionaly and push multiarch image to ghcr + - name: Push the image to ghcr uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2 with: context: "postgres-appliance/" push: true tags: "${{ steps.image.outputs.NAME }}" - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64