dragoon/.woodpecker.yml
Gregory Ballantine 8cb640d804
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Updated woodpecker config to use eclipse temurin Alpine image
2023-01-24 23:18:33 -05:00

34 lines
741 B
YAML

pipeline:
test:
image: maven:3-eclipse-temurin-17-alpine
commands:
- apk add lsof
- mvn test
build:
image: maven:3-eclipse-temurin-17-alpine
commands:
- mvn clean compile assembly:single
package:
image: maven:3-eclipse-temurin-17-alpine
commands:
- apk add rpm
- mvn clean compile package -Dmaven.test.skip
when:
event: tag
gitea_release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.metaunix.net
title: "${CI_COMMIT_TAG}"
files:
- target/dragoon-*.jar
- target/dragoon-*.deb
- target/rpm/dragoon/RPMS/noarch/dragoon-*.rpm
when:
event: tag