Commit 91e44a25 authored by nguyenvu's avatar nguyenvu

Update .gitlab-ci.yml

parent 79bcd13d
Pipeline #6825 failed with stages
in 0 seconds
...@@ -20,10 +20,12 @@ build: ...@@ -20,10 +20,12 @@ build:
before_script: before_script:
- echo "Please remember that for dev environment, we use the tag 'dev' only !!!" - echo "Please remember that for dev environment, we use the tag 'dev' only !!!"
- cicd_path=$(pwd)/$(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - cicd_path=$(pwd)/$(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- echo 'export tag="dev"' >> $cicd_path/env.sh #- echo 'export tag="dev"' >> $cicd_path/env.sh
- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- ls -la - ls -la
- sudo cat env.sh - sudo cat env.sh
- echo 'export tag="dev"' >> $cicd_path/env.sh
- sudo cat env.sh
- cd ../ - cd ../
#- cicd_url=$(grep "url" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) #- cicd_url=$(grep "url" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
#- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) #- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment