Reconfigure for forgejo/woodpecker
This commit is contained in:
parent
9552221cc4
commit
fae584169b
15 changed files with 244 additions and 253 deletions
22
.woodpecker/build.yaml
Normal file
22
.woodpecker/build.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
when:
|
||||
event: [manual, push]
|
||||
branch: main
|
||||
path: [.woodpecker/build.yaml, pom.xml, src/main/**]
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: kokuwaio/dockerd
|
||||
ports: [2375, 8080]
|
||||
|
||||
steps:
|
||||
|
||||
deploy:
|
||||
image: maven:3.9.9-eclipse-temurin-17
|
||||
commands: mvn deploy --settings=.woodpecker/maven/settings.xml
|
||||
environment:
|
||||
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
|
||||
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
|
||||
DOCKER_IO_USERNAME: {from_secret: docker_io_username}
|
||||
DOCKER_IO_PASSWORD: {from_secret: docker_io_password}
|
||||
GHCR_IO_USERNAME: {from_secret: ghcr_io_username}
|
||||
GHCR_IO_PASSWORD: {from_secret: ghcr_io_password}
|
Loading…
Add table
Add a link
Reference in a new issue