Update .woodpecker.yml
This commit is contained in:
parent
976b821e01
commit
c09a458296
1 changed files with 10 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue