12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- kind: pipeline
- name: default
- steps:
- - name: restore-cache
- image: drillster/drone-volume-cache
- volumes:
- - name: cache
- path: /cache
- settings:
- restore: true
- mount:
- - .m2
- - name: build
- image: jaikuai/npm-mvn
- pull: true
- commands:
- - mvn clean install -Dmaven.test.skip=true -Dmaven.repo.local=/drone/src/.m2/repository -Dmaven.compile.fork=true package
- - name: rebuild-cache
- image: drillster/drone-volume-cache
- volumes:
- - name: cache
- path: /cache
- settings:
- rebuild: true
- mount:
- - .m2
- - name: docker-big-screen
- image: plugins/docker
- settings:
- tags:
- - latest
- - 1.0.${DRONE_BUILD_NUMBER}
- registry: nas.fast-fun.cn:5000
- insecure: true
- dockerfile: Dockerfile
- mirror: https://1u6db9h5.mirror.aliyuncs.com
- repo: nas.fast-fun.cn:5000/zhl/big_screen
- volumes:
- - name: cache
- host:
- path: /home/drone/cache
|