Skip to content

Commit 5e45497

Browse files
committed
ci: Use tag as version build arg
1 parent 5419779 commit 5e45497

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-custom.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
inputs:
66
tag:
77
description: Custom tag to publish
8+
default: custom
89
platforms:
910
description: Platforms to publish to (comma separated list)
1011
default: linux/amd64
@@ -48,5 +49,5 @@ jobs:
4849
tags: ${{ steps.meta.outputs.tags }}
4950
labels: ${{ steps.meta.outputs.labels }}
5051
build-args: |
51-
VERSION=custom
52+
VERSION=${{ inputs.tag }}
5253
COMMIT_HASH=${{ github.sha }}

0 commit comments

Comments
 (0)