Browse Source

更新 '.drone.yml'

dev-minio
dashan 1 year ago
parent
commit
65c6c03f70
  1. 4
      .drone.yml

4
.drone.yml

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

Loading…
Cancel
Save