Allows manual triggering with release tag input

### Changed
- Allows specifying the release tag when manually triggering the workflow.
- Uses the release tag from the manual input or the release event.
This commit is contained in:
Beda Schmid
2025-10-07 09:06:15 -03:00
parent 249b3cd5b6
commit dd8760e829

View File

@@ -3,6 +3,11 @@ name: Release Docker Image
on:
release:
types: [published]
workflow_dispatch:
inputs:
release_tag:
description: "Release tag to build"
required: true
permissions:
contents: read
@@ -67,4 +72,4 @@ jobs:
${{ env.EXTRA_TAGS }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
RELEASE_VERSION=${{ github.ref_name }}
RELEASE_VERSION=${{ github.event.release.tag_name || github.event.inputs.release_tag }}