Allow manual rerun of Docker publish job

This commit is contained in:
Mick Grove 2025-12-05 12:53:53 -08:00
commit 6c2bc8303e

View file

@ -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: