Pass $CI_COMMIT_TAG as GITLAB_TAG to the CNG triggered pipelines

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2019-01-24 18:30:44 +01:00
parent 4c6ad05cfd
commit 79eec04799
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -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'
}