|
|
@ -1,9 +1,11 @@
|
|
|
|
name: Build and push containers
|
|
|
|
name: Build and push containers
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
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:
|
|
|
|
workflow_run:
|
|
|
|
workflows: ["ChangeDetection.io Test"]
|
|
|
|
workflows: ["ChangeDetection.io Test"]
|
|
|
|
|
|
|
|
branches: [master]
|
|
|
|
|
|
|
|
tags: ['0.*']
|
|
|
|
types: [completed]
|
|
|
|
types: [completed]
|
|
|
|
|
|
|
|
|
|
|
|
# Or a new tagged release
|
|
|
|
# Or a new tagged release
|
|
|
@ -24,6 +26,7 @@ jobs:
|
|
|
|
echo c: ${{ github.event.workflow_run.conclusion }}
|
|
|
|
echo c: ${{ github.event.workflow_run.conclusion }}
|
|
|
|
echo r: ${{ github.event.workflow_run }}
|
|
|
|
echo r: ${{ github.event.workflow_run }}
|
|
|
|
echo tname: "${{ github.event.release.tag_name }}"
|
|
|
|
echo tname: "${{ github.event.release.tag_name }}"
|
|
|
|
|
|
|
|
echo headbranch: -${{ github.event.workflow_run.head_branch }}-
|
|
|
|
set
|
|
|
|
set
|
|
|
|
|
|
|
|
|
|
|
|
build-push-containers:
|
|
|
|
build-push-containers:
|
|
|
|