From e63d696e49e9386dffac77bd43f6981ad4035463 Mon Sep 17 00:00:00 2001 From: Neshura Date: Sun, 4 Dec 2022 01:43:23 +0100 Subject: [PATCH] Only run CI/CD when Tag is present oops --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fca2ee..e8e1c18 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ variables: .docker: image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20 rules: - - if: $CI_COMMIT_TAG !~ /(^t)+.*/ + - if: $CI_COMMIT_TAG && $CI_COMMIT_TAG !~ /(^t)+.*/ variables: IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest - if: $CI_COMMIT_TAG