Enable manual triggering of Docker publish workflow

Add workflow_dispatch event with optional extra_tag input.
This commit is contained in:
2025-11-01 18:23:54 +01:00
committed by GitHub
parent 5c1ca9247a
commit a2c4f29172

View File

@@ -5,6 +5,12 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
inputs:
extra_tag:
description: "Optionaler Zusatz-Tag (z.B. v1.2.3). Kommt zusätzlich zu :latest und :<sha>."
required: false
default: ""
jobs:
build-and-push:
@@ -42,4 +48,4 @@ jobs:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}