From c9860dc55e7807caedbe769d0a8c434daa9e5c9d Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 5 Oct 2021 11:13:23 +0200 Subject: [PATCH] Limit container build to releases and master --- .github/workflows/containers.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index ad5ffe9f..d4653fbd 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -3,12 +3,14 @@ name: Build and push containers on: workflow_run: workflows: ["ChangeDetection.io Test"] + branches: [master] + tags: '*.*' types: [completed] jobs: on-success: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} + if: ${{ github.event.workflow_run.conclusion == 'success' && ( 1 || 1) }} steps: - uses: actions/checkout@v2 - name: Set up Python 3.9