haiti-framework/.drone.yml

23 lines
386 B
YAML
Raw Normal View History

2022-12-17 12:11:39 +03:00
kind: pipeline
type: docker
name: haiti-framework
steps:
- name: package
image: maven:3.8.6-eclipse-temurin-17
volumes:
2022-12-17 12:24:12 +03:00
- name: cache
path: /root/.m2
2022-12-17 12:20:07 +03:00
commands:
2022-12-17 12:22:46 +03:00
- mvn -Dmaven.repo.local=/drone/.m2/repository -U clean package
2022-12-17 12:11:39 +03:00
trigger:
branch:
- master
# ref:
# - refs/tags/v.*.*.*
volumes:
- name: m2
host:
2022-12-17 12:15:42 +03:00
path: ${PATH_MAVEN_M2}