chore(ci): 更新Drone配置中的服务器和Docker registry地址
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- 修改服务器host地址和端口为38.55.194.49:3422 - 更新Docker登录地址从git.oceanpay.cc到git.domainpay.top - 修改Docker构建和推送镜像的仓库路径 - 同步更新Docker logout命令中的仓库地址
This commit is contained in:
11
.drone.yml
11
.drone.yml
@@ -4,11 +4,10 @@ type: ssh
|
||||
name: master-machine
|
||||
|
||||
server:
|
||||
host: 38.38.251.113:34156
|
||||
host: 38.55.194.49:3422
|
||||
user: root
|
||||
password:
|
||||
from_secret: www_password
|
||||
|
||||
clone:
|
||||
depth: 1
|
||||
|
||||
@@ -20,7 +19,7 @@ steps:
|
||||
DOCKER_TOKEN:
|
||||
from_secret: docker_token
|
||||
commands:
|
||||
- docker login git.oceanpay.cc -u $DOCKER_LOGIN -p $DOCKER_TOKEN
|
||||
- docker build -t git.oceanpay.cc/danial/kami-db-migrate:latest .
|
||||
- docker push git.oceanpay.cc/danial/kami-db-migrate:latest
|
||||
- docker logout git.oceanpay.cc
|
||||
- docker login git.domainpay.top -u $DOCKER_LOGIN -p $DOCKER_TOKEN
|
||||
- docker build -t git.domainpay.top/danial/kami-db-migrate:latest .
|
||||
- docker push git.domainpay.top/danial/kami-db-migrate:latest
|
||||
- docker logout git.domainpay.top
|
||||
|
||||
Reference in New Issue
Block a user