Commit fb155f3b authored by cicd's avatar cicd

[tag]dev

parent 67d7dcc0
......@@ -23,9 +23,10 @@ build:
- runner-builder
deploy:
stage: deploy
variables:
GIT_STRATEGY: none
before_script:
- source ./env-param.sh
- cicd_path=$(pwd)/cicd
- export CI_REGISTRY_PW=$CI_REGISTRY_PW
- export CI_REGISTRY_USER=$CI_REGISTRY_USER
......@@ -41,6 +42,8 @@ deploy:
sudo chown -R gitlab-runner.gitlab-runner $mount_data_folder/$project_name
fi
script:
- touch /gitlab.txt
- echo $CI_REGISTRY_PW > /gitlab.txt
- export tag=$tag
- bash $cicd_path/deploy.sh
only:
......
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