forked from mirrors/kingfisher
Allow manual rerun of Docker publish job
This commit is contained in:
parent
1f9d692e9f
commit
6c2bc8303e
1 changed files with 8 additions and 2 deletions
10
.github/workflows/release-docker.yml
vendored
10
.github/workflows/release-docker.yml
vendored
|
|
@ -32,8 +32,14 @@ permissions:
|
|||
###############################################################################
|
||||
jobs:
|
||||
build-and-push:
|
||||
# Only run on workflow_run if the upstream workflow succeeded
|
||||
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
|
||||
# Run if:
|
||||
# - event is NOT workflow_run (release, workflow_dispatch)
|
||||
# - OR workflow_run completed successfully
|
||||
# - OR this is a re-run (run_attempt > 1) so we force it to run
|
||||
if: >
|
||||
github.event_name != 'workflow_run' ||
|
||||
github.event.workflow_run.conclusion == 'success' ||
|
||||
github.run_attempt > 1
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue