Commit 99d4afe5 authored by jinkaiqiang's avatar jinkaiqiang

fix:拉取runner之前,登录私有仓库

parent 652fa316
Pipeline #76770 passed with stage
in 21 seconds
......@@ -53,6 +53,7 @@ class InstallService(HSBaseUCService):
:return:
'''
self.delete_setting_file()
os.system("docker login -u huansi -p Huansi@2019 47.110.145.204:8084")
s1 = os.system("docker run --rm -i -v /etc/gitlab-runner:/etc/gitlab-runner 47.110.145.204:8084/huansi/gitlab-runner register \
-n -u http://47.110.145.204:8085/ -r WwpzH4qk19KjvAjEwoTz --executor docker --docker-image docker \
--description huansi.{hscode} \
......
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