From f0cceb3354d611d12d11263472e937fdd198e607 Mon Sep 17 00:00:00 2001 From: gitea Date: Wed, 9 Jul 2025 11:21:53 +0800 Subject: [PATCH] Update file content --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index b098f43..055dc50 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: ${serverName} # 服务名成,可与jar包名保持一致 +name: yd-yunxing-server # 服务名成,可与jar包名保持一致 steps: @@ -55,14 +55,14 @@ steps: - docker inspect --type=image yudao-module-infra >/dev/null 2>&1 && docker rmi yudao-module-infra || true - cd /home/app/build - - cd gateway && docker build -t yudao-gateway:${APP_VERSION} -f ../Dockerfile . - - cd ../system && docker build -t yudao-module-system:${APP_VERSION} -f ../Dockerfile . - - cd ../infra && docker build -t yudao-module-infra:${APP_VERSION} -f ../Dockerfile . + - cd gateway && docker build -t yudao-gateway:v1.0 -f ../Dockerfile . + - cd ../system && docker build -t yudao-module-system:v1.0 -f ../Dockerfile . + - cd ../infra && docker build -t yudao-module-infra:v1.0 -f ../Dockerfile . - name: deploy-with-compose image: docker/compose:1.29.2 environment: - APP_VERSION: ${APP_VERSION} + APP_VERSION: v1.0 volumes: - name: build-output path: /home/app/build @@ -70,7 +70,7 @@ steps: path: /var/run/docker.sock commands: - cd /home/app/build - - sed -i "s/${APP_VERSION}/${APP_VERSION}/g" docker-compose.yml + - sed -i "s/v1.0/v1.0/g" docker-compose.yml - docker-compose -f docker-compose.yml up -d volumes: