Update .gitlab-ci.yml
This commit is contained in:
parent
9b387adab5
commit
a72119f8cb
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ image: docker:$DOCKER_VERSION-git
|
|||
|
||||
.rules:deploy:
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||
|
||||
build:
|
||||
rules: !reference [.rules:deploy, rules]
|
||||
|
|
Loading…
Reference in a new issue