fix: put the whole multiarch_build job under a condition instead of last step

This commit is contained in:
Julien Neuhart
2023-10-29 10:47:57 +01:00
parent 62ea3b1a1a
commit b9ad67d147

View File

@@ -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