diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index f6351d06..fe2b078b 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -1,9 +1,11 @@ name: Build and push containers on: - # Automatically triggered by a testing workflow passing + # Automatically triggered by a testing workflow passing, but this is only checked when it lands in the `master`/default branch workflow_run: workflows: ["ChangeDetection.io Test"] + branches: [master] + tags: ['0.*'] types: [completed] # Or a new tagged release @@ -24,6 +26,7 @@ jobs: echo c: ${{ github.event.workflow_run.conclusion }} echo r: ${{ github.event.workflow_run }} echo tname: "${{ github.event.release.tag_name }}" + echo headbranch: -${{ github.event.workflow_run.head_branch }}- set build-push-containers: diff --git a/README.md b/README.md index 45bf6cf5..a6f9f0ec 100644 --- a/README.md +++ b/README.md @@ -41,15 +41,15 @@ Run the python code on your own machine by cloning this repository, or with