Specify test branch using t in front
This commit is contained in:
parent
e971089b51
commit
7406f311b1
1 changed files with 1 additions and 6 deletions
|
@ -1,8 +1,3 @@
|
|||
# avoids unecessary repulling of node modules
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
stages:
|
||||
- lint
|
||||
#- test
|
||||
|
@ -21,7 +16,7 @@ variables:
|
|||
.docker:
|
||||
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_TAG !~ /(^t)+.*/
|
||||
variables:
|
||||
IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
|
Reference in a new issue