diff --git a/.github/workflows/push-image.yml b/.github/workflows/push-image.yml index 0d46e9e88..f0142cf80 100644 --- a/.github/workflows/push-image.yml +++ b/.github/workflows/push-image.yml @@ -19,13 +19,15 @@ env: jobs: build: - runs-on: ubuntu-latest strategy: - fail-fast: false + fail-fast: true matrix: - platform: - - linux/amd64 - - linux/arm64 + include: + - os: ubuntu-latest + platform: linux/amd64 + - os: macos-14 + platform: linux/arm64 + runs-on: ${{ matrix.os }} steps: - name: Prepare @@ -41,9 +43,12 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} + - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + name: Setup docker on macos + if: startsWith(matrix.os, 'macos') + uses: douglascamata/setup-docker-macos-action@v1-alpha + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3