diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 02ae644..df0a323 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -62,6 +62,14 @@ jobs: echo "success=$success" >> $GITHUB_OUTPUT + - name: Set up QEMU + if: ${{ steps.pull.outputs.success == 'false' }} + uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf + + - name: Set up Docker Buildx + if: ${{ steps.pull.outputs.success == 'false' }} + uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 + - name: Login to GitHub Container Registry id: login if: ${{ github.event_name != 'pull_request' && steps.pull.outputs.success == 'false' }} @@ -76,7 +84,7 @@ jobs: if: ${{ steps.pull.outputs.success == 'false' }} uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 with: - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}