fix(CI): 应用推送到Ubuntu
continuous-integration/drone/push Build encountered an error Details

develop
Yosheng 2023-10-05 21:29:04 +08:00
parent cde03b1615
commit dbae3fbe2e
1 changed files with 5 additions and 7 deletions

View File

@ -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