Files
kami-db-migrate/.drone.yml
danial 1e7b02d5a1
All checks were successful
continuous-integration/drone/push Build is passing
chore(ci): 更新Drone配置中的服务器和Docker registry地址
- 修改服务器host地址和端口为38.55.194.49:3422
- 更新Docker登录地址从git.oceanpay.cc到git.domainpay.top
- 修改Docker构建和推送镜像的仓库路径
- 同步更新Docker logout命令中的仓库地址
2025-12-17 16:23:09 +08:00

26 lines
586 B
YAML

---
kind: pipeline
type: ssh
name: master-machine
server:
host: 38.55.194.49:3422
user: root
password:
from_secret: www_password
clone:
depth: 1
steps:
- name: build new image
environment:
DOCKER_LOGIN:
from_secret: docker_login
DOCKER_TOKEN:
from_secret: docker_token
commands:
- 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