fix(CI): 应用推送到Ubuntu
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
cde03b1615
commit
dbae3fbe2e
12
.drone.yml
12
.drone.yml
|
|
@ -29,12 +29,10 @@ steps:
|
|||
pull: if-not-exists
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 192.168.31.104
|
||||
port: 2041
|
||||
username:
|
||||
from_secret: deploy_username
|
||||
password:
|
||||
from_secret: deploy_password
|
||||
host: 192.168.31.225
|
||||
port: 22
|
||||
username: yosheng
|
||||
password: jr1831530
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- source /etc/profile
|
||||
|
|
@ -51,7 +49,7 @@ steps:
|
|||
- sudo docker tag 192.168.31.104:8082/tiamo/user-point-management tiamo/user-point-management:latest
|
||||
- sudo docker run --name user-point-management -d -p 29029:5000 tiamo/user-point-management
|
||||
- /usr/local/bin/docker system prune -f
|
||||
- echo docker容器启动成功
|
||||
- echo 执行完成
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
|
|
|||
Loading…
Reference in New Issue