Reconfigure for forgejo/woodpecker
This commit is contained in:
parent
7ecccbc76e
commit
a1fb7d1a58
13 changed files with 154 additions and 139 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