Commit 046c2b68 authored by dangdoan's avatar dangdoan

[tag]2.17.11.2

parent 2d84bb30
Pipeline #13088 passed with stages
in 1 minute and 36 seconds
...@@ -28,6 +28,7 @@ deploy: ...@@ -28,6 +28,7 @@ deploy:
- cicd_path=$(pwd)/cicd - cicd_path=$(pwd)/cicd
- export CI_REGISTRY_PW=$CI_REGISTRY_PW - export CI_REGISTRY_PW=$CI_REGISTRY_PW
- export CI_REGISTRY_USER=$CI_REGISTRY_USER - export CI_REGISTRY_USER=$CI_REGISTRY_USER
- tag=$(echo $CI_COMMIT_MESSAGE | sed -r 's/.*(\[tag\])//')
- | - |
if [ ! -d $mount_data_folder ]; then if [ ! -d $mount_data_folder ]; then
sudo mkdir $mount_data_folder sudo mkdir $mount_data_folder
...@@ -39,7 +40,7 @@ deploy: ...@@ -39,7 +40,7 @@ deploy:
sudo chown -R gitlab-runner.gitlab-runner $mount_data_folder/$project_name sudo chown -R gitlab-runner.gitlab-runner $mount_data_folder/$project_name
fi fi
script: script:
- export tag=dev - export tag=$tag
- bash $cicd_path/deploy.sh - bash $cicd_path/deploy.sh
only: only:
- release - release
......
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