move ci config from drone to woodpecker
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Jannik 2021-10-13 19:39:37 +02:00
parent c64c8779e3
commit 884aab08ed
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
2 changed files with 22 additions and 30 deletions

View File

@ -1,30 +0,0 @@
kind: pipeline
name: default
steps:
- name: test
image: gradle:jdk11
commands:
- gradle test
- name: build
image: gradle:jdk11
commands:
- gradle bootJar
when:
event:
- tag
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: mosadxyz/tcor
tags:
- latest
when:
event:
- tag

22
.woodpecker.yml Normal file
View File

@ -0,0 +1,22 @@
pipeline:
test:
image: gradle:jdk11
commands:
- gradle test
build:
image: gradle:jdk11
commands:
- gradle bootJar
when:
event:
- tag
docker:
image: plugins/docker
repo: mosadxyz/tcor
tags: latest
secrets:
- username: docker_username
password: docker_password
when:
event:
- tag