From 5120b18685cce3af0930473d8981d5f87e0016c0 Mon Sep 17 00:00:00 2001 From: Martin Bernstorff Date: Mon, 6 Nov 2023 17:25:01 +0100 Subject: [PATCH] ci: setup multiplatform conditions (#192) --- .github/workflows/docker-publish.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 4df56635..cc12456c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,19 +7,23 @@ name: docker-publish on: - workflow_run: - workflows: ["docker-integration-test"] - types: - - completed + push: + branches: + - main + jobs: release: runs-on: ubuntu-latest - concurrency: deploy - - if: ${{ github.ref == 'refs/heads/main' && github.event.workflow_run.conclusion == 'success'}} + concurrency: docker-publish steps: - uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: