Add workflow_dispatch to publish-docker.yml for manual triggers

Allows manual triggering when release.published webhook fails.
Related to #774
This commit is contained in:
rcourtman 2025-11-28 20:01:08 +00:00
parent 1d41920d91
commit f559dd35da

View file

@ -3,9 +3,15 @@ name: Publish Docker Images
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: 'Release tag (e.g., v4.34.0)'
required: true
type: string
concurrency:
group: docker-publish-${{ github.event.release.tag_name }}
group: docker-publish-${{ github.event.release.tag_name || inputs.tag }}
cancel-in-progress: false
jobs:
@ -20,7 +26,7 @@ jobs:
- name: Extract version from release tag
id: version
run: |
TAG="${{ github.event.release.tag_name }}"
TAG="${{ github.event.release.tag_name || inputs.tag }}"
VERSION="${TAG#v}"
echo "tag=${TAG}" >> $GITHUB_OUTPUT
echo "version=${VERSION}" >> $GITHUB_OUTPUT