libcvrapi/.drone.yml

21 lines
415 B
YAML
Raw Normal View History

2023-01-03 12:59:00 +00:00
---
kind: pipeline
name: default
type: docker
steps:
2023-01-03 13:35:44 +00:00
- name: test
2023-01-03 12:59:00 +00:00
image: eclipse-temurin:8-jdk
commands:
2023-01-03 13:35:44 +00:00
- ./gradlew test
- name: build
2023-01-03 12:59:00 +00:00
image: eclipse-temurin:8-jdk
environment:
AUTH_TOKEN: # Gitea access token ENV variable
from_secret: auth # Name of DroneCI secret exposed above
commands:
2023-01-03 13:10:51 +00:00
- ./gradlew build publishAllPublicationsToGiteaRepository
2023-01-03 12:59:00 +00:00
when:
event:
- tag