Files
kami_frontend/.drone.yml
danial 2e5f049001
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
chore(ci): 更新Drone CI配置中的Docker仓库地址
- 修改服务器host地址为38.55.194.49:3422
- 替换Docker登录和推送地址从git.oceanpay.cc到git.domainpay.top
- 更新相关Docker镜像标签和推送命令以匹配新仓库
- 注释掉旧的部署docker compose命令保持代码整洁
2025-12-17 16:06:50 +08:00

36 lines
1012 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_frontend_${DRONE_BRANCH}:${DRONE_BUILD_NUMBER} -f deploy/Dockerfile . --build-arg USE_PROXY=0
- docker tag git.domainpay.top/danial/kami_frontend_${DRONE_BRANCH}:${DRONE_BUILD_NUMBER} git.domainpay.top/danial/kami_frontend_${DRONE_BRANCH}:latest
- docker push git.domainpay.top/danial/kami_frontend_${DRONE_BRANCH}:${DRONE_BUILD_NUMBER}
- docker push git.domainpay.top/danial/kami_frontend_${DRONE_BRANCH}:latest
- docker logout git.domainpay.top
trigger:
branch:
- develop
- production
when:
event:
- push