Limit container build to releases and master

pull/244/head
dgtlmoon 3 years ago
parent dbd5cf117a
commit c9860dc55e

@ -3,12 +3,14 @@ name: Build and push containers
on: on:
workflow_run: workflow_run:
workflows: ["ChangeDetection.io Test"] workflows: ["ChangeDetection.io Test"]
branches: [master]
tags: '*.*'
types: [completed] types: [completed]
jobs: jobs:
on-success: on-success:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event.workflow_run.conclusion == 'success' && ( 1 || 1) }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python 3.9 - name: Set up Python 3.9

Loading…
Cancel
Save