Reconfigure for forgejo/woodpecker
This commit is contained in:
parent
83db672827
commit
5b3623f5c5
12 changed files with 151 additions and 154 deletions
18
.woodpecker/build.yaml
Normal file
18
.woodpecker/build.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
when:
|
||||
event: [manual, push]
|
||||
branch: main
|
||||
path: [.woodpecker/build.yaml, pom.xml, src/**]
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: kokuwaio/dockerd
|
||||
ports: [2375, 8080]
|
||||
|
||||
steps:
|
||||
|
||||
build:
|
||||
image: maven:3.9.9-eclipse-temurin-17
|
||||
commands: mvn deploy --settings=.woodpecker/maven/settings.xml
|
||||
environment:
|
||||
NEXUS_USERNAME: {from_secret: nexus_username}
|
||||
NEXUS_PASSWORD: {from_secret: nexus_password}
|
Loading…
Add table
Add a link
Reference in a new issue