Use regex to match vX.Y.Z
This commit is contained in:
parent
b219d6a6b6
commit
62dd85ab67
@ -313,7 +313,7 @@ github-release:
|
|||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
tags: [docker]
|
tags: [docker]
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG != null'
|
- if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/'
|
||||||
before_script:
|
before_script:
|
||||||
- apk update && apk add jq
|
- apk update && apk add jq
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user