Update .woodpecker.yml

This commit is contained in:
root 2025-06-08 08:40:00 +01:00
parent 976b821e01
commit c09a458296

View file

@ -2,8 +2,8 @@ pipeline:
docker-login:
image: docker
environment:
- GITHUB_PAT
- GITHUB_USERNAME
GITHUB_PAT: from_secret:GITHUB_PAT
GITHUB_USERNAME: from_secret:GITHUB_USERNAME
commands:
- echo $GITHUB_PAT | docker login ghcr.io -u $GITHUB_USERNAME --password-stdin
@ -18,9 +18,12 @@ pipeline:
backend-build:
image: maven:3.9-eclipse-temurin-17
volumes:
- build:/output
commands:
- echo "Building backend + frontend"
- mvn clean install -Pprod -DskipTests
- cp target/resilient*.jar /output/
when:
branch:
include: