haiti-framework/.drone.yml
Struchkov Mark 82b8d74e33
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Настройка сборки drone
2022-12-17 12:43:12 +03:00

41 lines
655 B
YAML

kind: pipeline
type: docker
name: haiti-framework
steps:
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: m2
path: /cache
settings:
restore: true
mount:
- /root/.m2
- name: publish
image: maven:3.8.6-eclipse-temurin-17
commands:
- mvn -U clean package
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: m2
path: /cache
settings:
rebuild: true
mount:
- /root/.m2
volumes:
- name: m2
host:
path: ${PATH_MAVEN_M2}
trigger:
branch:
- master
# ref:
# - refs/tags/v.*.*.*