Skip to content

Commit 520eaca

Browse files
authored
refactor(docker-build): add custom tag (#121)
1 parent ec05dc4 commit 520eaca

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
description: 'Docker registry'
1919
required: false
2020
type: string
21+
custom-tag:
22+
default: ''
23+
required: false
24+
type: string
2125
context:
2226
type: string
2327
default: .
@@ -147,6 +151,7 @@ jobs:
147151
images: |
148152
${{ needs.determine_registries.outputs.registry != '' && needs.determine_registries.outputs.registry || steps.reponame.outputs.lowercase }}
149153
tags: |
154+
${{ inputs.custom-tag != '' && inputs.custom-tag || '' }}
150155
type=schedule
151156
type=ref,event=branch
152157
type=ref,event=tag

0 commit comments

Comments
 (0)