From bd7025b8db711b2d956e94bb2d8f7daabb76b564 Mon Sep 17 00:00:00 2001
From: Tim Jaacks <tim.jaacks@seco.com>
Date: Mon, 20 Mar 2023 11:59:12 +0100
Subject: [PATCH] Manifest: run automatic pipeline on tags

---
 manifest-pipeline.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/manifest-pipeline.yml b/manifest-pipeline.yml
index 89ba9646..88f79343 100644
--- a/manifest-pipeline.yml
+++ b/manifest-pipeline.yml
@@ -30,12 +30,15 @@ workflow:
     - if: $CI_MERGE_REQUEST_IID
     # Run pipelines on the master branch
     - if: $CI_COMMIT_REF_NAME == $MASTER_BRANCH
+    # Run pipelines on tags
+    - if: $CI_COMMIT_TAG
 
 .full_build_pipeline:
   rules:
-    # Run the full build pipeline on merge requests
+    # Run the full build pipeline on merge requests and tags
     # or if explicitly triggered by the API or the web button.
     - if: $CI_MERGE_REQUEST_IID
+    - if: $CI_COMMIT_TAG
     - if: $CI_PIPELINE_SOURCE == "api"
     - if: $CI_PIPELINE_SOURCE == "pipeline"
     - if: $CI_PIPELINE_SOURCE == "web"
-- 
GitLab