chore(ci): 更新Drone CI配置中的Docker仓库地址
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

- 修改服务器host地址为38.55.194.49:3422
- 替换Docker登录和推送地址从git.oceanpay.cc到git.domainpay.top
- 更新相关Docker镜像标签和推送命令以匹配新仓库
- 注释掉旧的部署docker compose命令保持代码整洁
This commit is contained in:
danial
2025-12-17 16:06:50 +08:00
parent 146388a2ef
commit 2e5f049001

View File

@@ -4,7 +4,7 @@ type: ssh
name: master-machine name: master-machine
server: server:
host: 38.38.251.113:34156 host: 38.55.194.49:3422
user: root user: root
password: password:
from_secret: www_password from_secret: www_password
@@ -19,22 +19,12 @@ steps:
DOCKER_TOKEN: DOCKER_TOKEN:
from_secret: docker_token from_secret: docker_token
commands: commands:
- docker login git.oceanpay.cc -u $DOCKER_LOGIN -p $DOCKER_TOKEN - docker login git.domainpay.top -u $DOCKER_LOGIN -p $DOCKER_TOKEN
- docker build -t git.oceanpay.cc/danial/kami_frontend_${DRONE_BRANCH}:${DRONE_BUILD_NUMBER} -f deploy/Dockerfile . --build-arg USE_PROXY=0 - 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.oceanpay.cc/danial/kami_frontend_${DRONE_BRANCH}:${DRONE_BUILD_NUMBER} git.oceanpay.cc/danial/kami_frontend_${DRONE_BRANCH}:latest - 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.oceanpay.cc/danial/kami_frontend_${DRONE_BRANCH}:${DRONE_BUILD_NUMBER} - docker push git.domainpay.top/danial/kami_frontend_${DRONE_BRANCH}:${DRONE_BUILD_NUMBER}
- docker push git.oceanpay.cc/danial/kami_frontend_${DRONE_BRANCH}:latest - docker push git.domainpay.top/danial/kami_frontend_${DRONE_BRANCH}:latest
- docker logout git.oceanpay.cc - docker logout git.domainpay.top
# - name: deploy to docker compose
# environment:
# DOCKER_LOGIN:
# from_secret: docker_login
# DOCKER_TOKEN:
# from_secret: docker_token
# commands:
# - docker login git.oceanpay.cc -u $DOCKER_LOGIN -p $DOCKER_TOKEN
# - BRANCH=${DRONE_BRANCH} VERSION=${DRONE_BUILD_NUMBER} docker compose -f /data/kami/docker-compose.yaml --profile frontend up -d
# - docker logout git.oceanpay.cc
trigger: trigger:
branch: branch: