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:
|
stages:
|
||||||
- lint
|
- lint
|
||||||
#- test
|
#- test
|
||||||
|
@ -21,7 +16,7 @@ variables:
|
||||||
.docker:
|
.docker:
|
||||||
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG !~ /(^t)+.*/
|
||||||
variables:
|
variables:
|
||||||
IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest
|
IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
|
Reference in a new issue