diff --git a/.ostc-ci/gitlab-ci.yml b/.ostc-ci/gitlab-ci.yml
index 0006509ba20e41a6cc906fd9c32b05a3f3e5ff29..2fdd3745e38a4b5761c096caaf015601ce25f2e5 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'