Skip to content

Commit 0dbb75a

Browse files
committed
manual build
1 parent 78da201 commit 0dbb75a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docker-build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ name: Build and publish docker image
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
release:
9+
description: "Release (e.g., v1.9.0)"
10+
required: true
611

712
env:
813
REGISTRY: ghcr.io
914
IMAGE_NAME: ${{ github.repository }}
15+
RELEASE: ${{ github.event.inputs.release || github.event.release.tag_name }}
1016

1117
jobs:
1218
build:
@@ -46,7 +52,7 @@ jobs:
4652
context: .
4753
file: ./Dockerfile.build
4854
push: true
49-
tags: ${{ steps.meta.outputs.tags }}
55+
tags: ${{ env.RELEASE }}
5056
labels: ${{ steps.meta.outputs.labels }}
5157
cache-from: type=gha
5258
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)