From b11ac3331ebdd873fdb8c217bd922b9243bddb7e Mon Sep 17 00:00:00 2001 From: TC Date: Wed, 2 Aug 2023 03:08:19 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bcb6f652..c92d27ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,6 +93,8 @@ delete_amd64_deb_build_machine: - build-orchestration script: - /home/gitlab-runner/build-machine-ctl.sh delete amd64-deb + rules: + - if: '$CI_COMMIT_TAG =~ /v\d.+/' package_arm64_deb: stage: build_packages @@ -115,6 +117,8 @@ delete_arm64_deb_build_machine: - build-orchestration script: - /home/gitlab-runner/build-machine-ctl.sh delete arm64-deb + rules: + - if: '$CI_COMMIT_TAG =~ /v\d.+/' package_amd64_rpm: stage: build_packages @@ -137,6 +141,8 @@ delete_amd64_rpm_build_machine: - build-orchestration script: - /home/gitlab-runner/build-machine-ctl.sh delete amd64-rpm + rules: + - if: '$CI_COMMIT_TAG =~ /v\d.+/' build_repositories: stage: distribute