Specify test branch using t in front

This commit is contained in:
Neshura 2022-12-04 01:40:53 +01:00
parent e971089b51
commit 7406f311b1
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A

View file

@ -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