Skip to content

Commit 5ff031e

Browse files
committed
fix: update tag extractor to support prereleases
1 parent d0729bc commit 5ff031e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_docker-build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
id: regex
4949
with:
5050
text: ${{ github.ref }}
51-
regex: '^(refs\/tags\/${{ inputs.service-name }}\/(v\d+\.\d+\.\d+))|(refs\/heads\/(main))$'
51+
regex: '^(refs\/tags\/${{ inputs.service-name }}\/v([^\/]+))|(refs\/heads\/(main))$'
5252

5353
- name: Extract tag name
5454
id: tags_extractor

0 commit comments

Comments
 (0)