From e4132121bc34d688cad9d59981e1b3ce0a278311 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <stefan.schmidt@huawei.com>
Date: Tue, 30 Mar 2021 10:45:01 +0200
Subject: [PATCH] gitlab-ci.yml: enable builds for git tags

Set rule to run our build pipeline for git tags as well.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
---
 .ostc-ci/gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.ostc-ci/gitlab-ci.yml b/.ostc-ci/gitlab-ci.yml
index 0006509b..2fdd3745 100644
--- a/.ostc-ci/gitlab-ci.yml
+++ b/.ostc-ci/gitlab-ci.yml
@@ -107,3 +107,5 @@ update-docs:
         - meta-*/**/*
         # Run this job in case the pipeline changes.
         - .ostc-ci/*.yml
+    # Run the build when a tag is placed.
+    - if: '$CI_COMMIT_TAG'
-- 
GitLab