XCraftBots/.drone.yml
Andreas Greiner 1b8bafe6e5
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
2024-02-02 19:53:30 +01:00

27 lines
484 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: maven:3-openjdk-8
commands:
- mvn clean package
- name: publish
image: plugins/gitea-release
settings:
base_url: https://git.greinet.com
api_key:
from_secret: gitea_api_key_xcraftbots
files: target/XCraftBots-*-jar-with-dependencies.jar
checksum: sha256
tag: ${DRONE_TAG}
when:
event:
- tag
trigger:
event:
- push
- tag