From 7406f311b1c37996c088540fa6c6a548b6c59b08 Mon Sep 17 00:00:00 2001 From: Neshura Date: Sun, 4 Dec 2022 01:40:53 +0100 Subject: [PATCH] Specify test branch using t in front --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb854ac..5fca2ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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