From b9ad67d147b5dabfc1354248dca0a837bbe35ec3 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Sun, 29 Oct 2023 10:47:57 +0100 Subject: [PATCH] fix: put the whole multiarch_build job under a condition instead of last step --- .github/workflows/continuous_integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 6f6a9d56..ca351262 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -48,6 +48,7 @@ jobs: bash <(curl -s https://codecov.io/bash) multiarch_build: + if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: - Tests name: Multi-arch build @@ -60,6 +61,5 @@ jobs: - name: Checkout source code uses: actions/checkout@v4 - name: Build and push Docker image for main branch - if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: | make release GOTENBERG_VERSION=edge \ No newline at end of file