diff --git a/.drone.yml b/.drone.yml index 2366bca..c146389 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,9 @@ steps: path: /mnt/app/build # 将应用打包好的Jar和执行脚本挂载出来 commands: # 定义在Docker容器中执行的shell命令 - mvn clean package -DskipTests=true # 应用打包命 - - sh docker/copy.sh + - cd docker + - sh copy.sh + - cd ../ - cp docker /mnt/app/build/ - name: build-docker