mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-04 22:40:14 +00:00
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:
parent
1d41920d91
commit
f559dd35da
1 changed files with 8 additions and 2 deletions
10
.github/workflows/publish-docker.yml
vendored
10
.github/workflows/publish-docker.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue