We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78da201 commit 0dbb75aCopy full SHA for 0dbb75a
.github/workflows/docker-build.yml
@@ -3,10 +3,16 @@ name: Build and publish docker image
3
on:
4
release:
5
types: [published]
6
+ workflow_dispatch:
7
+ inputs:
8
+ release:
9
+ description: "Release (e.g., v1.9.0)"
10
+ required: true
11
12
env:
13
REGISTRY: ghcr.io
14
IMAGE_NAME: ${{ github.repository }}
15
+ RELEASE: ${{ github.event.inputs.release || github.event.release.tag_name }}
16
17
jobs:
18
build:
@@ -46,7 +52,7 @@ jobs:
46
52
context: .
47
53
file: ./Dockerfile.build
48
54
push: true
49
- tags: ${{ steps.meta.outputs.tags }}
55
+ tags: ${{ env.RELEASE }}
50
56
labels: ${{ steps.meta.outputs.labels }}
51
57
cache-from: type=gha
58
cache-to: type=gha,mode=max
0 commit comments