Browse Source

更新 '.drone.yml'

rentianliang 1 year ago
parent
commit
93e52a51bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .drone.yml

+ 1 - 1
.drone.yml

@@ -39,7 +39,7 @@ steps:
         - docker rm -f `docker ps -a | grep kingdee_big_screen | awk '{print $1}' `
         - docker rmi `docker images | grep harbor.sxidc.com/fs/kingdee_big_screen | awk '{print $3}' `
         - echo =======开始部署应用=======
-        - docker run -d -p 10003:80  --name kingdee_big_screen harbor.sxidc.com/fs/kingdee_big_screen
+        - docker run -d -p 10003:80  --name kingdee_big_screen harbor.sxidc.com/fs/${DRONE_REPO_NAME//_/-}:${DRONE_COMMIT_BRANCH/master/latest}
         - echo =======清理构建文件,建议保留=======
         - echo =======部署成功=======