mirror of
https://github.com/Dodelidoo-Labs/sonobarr.git
synced 2026-04-23 15:46:56 -04:00
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:
7
.github/workflows/release-docker.yml
vendored
7
.github/workflows/release-docker.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user