summaryrefslogtreecommitdiff
path: root/scripts/trigger-build
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-01-24 18:30:44 +0100
committerRémy Coutable <remy@rymai.me>2019-01-30 09:42:48 +0100
commit79eec0479911acc449072a9f619616391c407b92 (patch)
tree46df3d7cfaef9021e6d54a9817a5e1860dba0c13 /scripts/trigger-build
parent4c6ad05cfdc11d8f0296c1ad322bb11aa67f23d8 (diff)
downloadgitlab-ce-79eec0479911acc449072a9f619616391c407b92.tar.gz
Pass $CI_COMMIT_TAG as GITLAB_TAG to the CNG triggered pipelines
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'scripts/trigger-build')
-rwxr-xr-xscripts/trigger-build1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/trigger-build b/scripts/trigger-build
index fbf35e7217c..9dbafffddfc 100755
--- a/scripts/trigger-build
+++ b/scripts/trigger-build
@@ -140,6 +140,7 @@ module Trigger
# Back-compatibility until https://gitlab.com/gitlab-org/build/CNG/merge_requests/189 is merged
"GITLAB_#{edition}_VERSION" => ENV['CI_COMMIT_REF_NAME'],
"GITLAB_VERSION" => ENV['CI_COMMIT_REF_NAME'],
+ "GITLAB_TAG" => ENV['CI_COMMIT_TAG'],
"GITLAB_ASSETS_TAG" => ENV['CI_COMMIT_REF_SLUG'],
"#{edition}_PIPELINE" => 'true'
}