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