From ac49ffd5205346b35e28ef9ff42a09cd7b87af8f Mon Sep 17 00:00:00 2001 From: Adam Taylor Date: Mon, 4 Nov 2024 15:21:46 +0000 Subject: [PATCH] Update container CI to use buildx --- .github/workflows/container-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container-ci.yml b/.github/workflows/container-ci.yml index 17b428c..cbb5f25 100644 --- a/.github/workflows/container-ci.yml +++ b/.github/workflows/container-ci.yml @@ -34,6 +34,12 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name : Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: "docker/setup-buildx-action@v3" + - name: Extract Docker metadata id: metadata uses: docker/metadata-action@v4 @@ -48,10 +54,10 @@ jobs: latest - name: Build and push to GHCR - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true - platforms: linux/amd64,linux/arm64 + platforms: "linux/amd64,linux/arm64" tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} \ No newline at end of file