diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 006e68c..44b8fc3 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -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