|
@@ -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 =======部署成功=======
|
|
|
|