diff --git a/.github/workflows/build-darwin.yml b/.github/workflows/build-darwin.yml index dcc83bfd..f0ad9abf 100644 --- a/.github/workflows/build-darwin.yml +++ b/.github/workflows/build-darwin.yml @@ -20,13 +20,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - + - name: Set up QEMU uses: docker/setup-qemu-action@v3 - + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - + - name: Build uses: docker/build-push-action@v5 with: @@ -36,6 +36,11 @@ jobs: load: true tags: initia:${{ github.sha }} + - name: Show Docker build logs + if: failure() + run: docker buildx build --progress=plain --platform linux/${{ matrix.arch }} -f .github/workflows/Dockerfile . + + - name: Export binary run: | container_id=$(docker create initia:${{ github.sha }})