fix(CI): 布署使用CI专属帐号
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
dbae3fbe2e
commit
06d3896228
|
|
@ -22,7 +22,7 @@ steps:
|
||||||
insecure: true
|
insecure: true
|
||||||
registry: 192.168.31.104:8082
|
registry: 192.168.31.104:8082
|
||||||
repo: 192.168.31.104:8082/tiamo/user-point-management
|
repo: 192.168.31.104:8082/tiamo/user-point-management
|
||||||
volumes:
|
volumes: # 将容器内目录挂载到宿主机,仓库需要开启Trusted设置
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- name: deploy
|
- name: deploy
|
||||||
|
|
@ -31,8 +31,8 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
host: 192.168.31.225
|
host: 192.168.31.225
|
||||||
port: 22
|
port: 22
|
||||||
username: yosheng
|
username: drone
|
||||||
password: jr1831530
|
password: dronepw
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
script:
|
||||||
- source /etc/profile
|
- source /etc/profile
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue