Commit 48b62e3f authored by nguyenvu's avatar nguyenvu

Update .gitlab-ci.yml

parent f71ec691
Pipeline #6931 failed with stages
in 4 seconds
...@@ -25,7 +25,7 @@ build: ...@@ -25,7 +25,7 @@ build:
- git submodule update --recursive --remote - git submodule update --recursive --remote
#- 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)
- pwd - export docker_path=$(pwd)
- export tag="dev" - export tag="dev"
- export image_name=$image_name - export image_name=$image_name
- export CI_REGISTRY_PW=$GIT_PW - export CI_REGISTRY_PW=$GIT_PW
...@@ -69,9 +69,7 @@ build: ...@@ -69,9 +69,7 @@ build:
sudo bash -c "echo $value_base64 > $current_file_path" sudo bash -c "echo $value_base64 > $current_file_path"
sudo bash -c "cat $current_file_path > $release_note_folder/$project_name/releasenotes.txt" sudo bash -c "cat $current_file_path > $release_note_folder/$project_name/releasenotes.txt"
- cd $cicd_path - bash $cicd_path/build.sh
- bash build.sh
- cd ../
#- sudo docker build -t $image_name:$tag -f Dockerfile . #- sudo docker build -t $image_name:$tag -f Dockerfile .
#- sudo docker logout registry.gitlab.com #- sudo docker logout registry.gitlab.com
#- echo "$CI_REGISTRY_PW" | sudo docker login registry.gitlab.com -u "$CI_REGISTRY_USER" --password-stdin #- echo "$CI_REGISTRY_PW" | sudo docker login registry.gitlab.com -u "$CI_REGISTRY_USER" --password-stdin
......
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