Update .woodpecker.yml
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
root 2025-06-08 10:13:43 +01:00
parent 7fb3c87fc0
commit 46a4045add

View file

@ -6,7 +6,9 @@ steps:
GITHUB_USERNAME: from_secret:GITHUB_USERNAME
commands:
- echo $GITHUB_PAT | docker login ghcr.io -u $GITHUB_USERNAME --password-stdin
when:
event: [push, pull_request]
restore-cache:
image: plugins/cache
settings:
@ -15,7 +17,9 @@ steps:
- /root/.m2
- frontend/node_modules
path: /tmp/woodpecker-cache
when:
event: [push, pull_request]
backend-build:
image: maven:3.9-eclipse-temurin-17
volumes:
@ -25,6 +29,7 @@ steps:
- mvn clean install -Pprod -DskipTests
- cp target/resilient*.jar /output/
when:
event: [push, pull_request]
branch:
include:
- main
@ -39,14 +44,18 @@ steps:
- /root/.m2
- frontend/node_modules
path: /tmp/woodpecker-cache
when:
event: [push, pull_request]
save-artifacts:
image: ghcr.io/woodpecker-ci/plugin-artifacts
settings:
files:
- /output/resilient*.jar
destination: build
when:
event: [push, pull_request]
volumes:
build:
host: