From ace24dc14156cdf1195762868084e42cfb9ba033 Mon Sep 17 00:00:00 2001 From: nguyenvu <nguyenpham@meu-solutions.com> Date: Thu, 13 May 2021 17:24:12 +0700 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eccb971..5396be0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,8 +19,9 @@ build: stage: build before_script: - echo "Please remember that for dev environment, we use the tag 'dev' only !!!" - - tag=dev + - - cicd_path=$(pwd)/$(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) + - echo 'export tag="dev"' >> $cicd_path/env.sh - cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - ls -la - cd ../ -- 2.18.1