From 795ede9f7b1465c3fb74304d2f79300f9b94e3cb Mon Sep 17 00:00:00 2001 From: LizJeong Date: Mon, 15 Jul 2024 15:56:53 +0900 Subject: [PATCH] Update build-darwin.yml --- .github/workflows/build-darwin.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 }})