Commit bfcbfd8d authored by nguyenvu's avatar nguyenvu

Update .gitlab-ci.yml

parent f101f421
Pipeline #6934 canceled with stages
in 5 minutes and 34 seconds
......@@ -30,15 +30,6 @@ build:
- export image_name=$image_name
- export CI_REGISTRY_PW=$GIT_PW
- export CI_REGISTRY_USER=$GIT_USER
#- echo 'export tag="dev"' >> $cicd_path/env.sh
#- sudo cat build.sh
#- cd ../
#- cicd_url=$(grep "url" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
#- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
#- ls -la
#- sudo git clone $cicd_url
#- ls -la
#- cd ../
- current_file_path=$(pwd)/MEU.API/Resources/ReleaseNotes/releasenotes.txt
- release_note_folder=/var/www/release_note
- |
......@@ -70,11 +61,7 @@ build:
sudo bash -c "cat $current_file_path > $release_note_folder/$project_name/releasenotes.txt"
- bash $cicd_path/build.sh
#- sudo docker build -t $image_name:$tag -f Dockerfile .
#- sudo docker logout registry.gitlab.com
#- echo "$CI_REGISTRY_PW" | sudo docker login registry.gitlab.com -u "$CI_REGISTRY_USER" --password-stdin
#- sudo docker push $image_name:$tag
#- sudo docker rmi $image_name:$tag
only:
- develop
tags:
......
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