We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67dadd9 commit 32bcfafCopy full SHA for 32bcfaf
.github/workflows/_docker-build-push.yml
@@ -49,7 +49,7 @@ jobs:
49
with:
50
text: ${{ github.ref }}
51
# https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
52
- regex: '^(refs\/tags\/${{ inputs.service-name }}\/v((0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?))|(refs\/heads\/(main))$'
+ regex: '^(refs\/tags\/${{ inputs.service-name }}\/(v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?))|(refs\/heads\/(main))$'
53
54
- name: Extract tag name
55
id: tags_extractor
0 commit comments