Try differently.
Some checks failed
Java CI with Gradle / build (push) Waiting to run
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Michael Lipp 2025-08-11 10:37:01 +02:00
parent dbf9dd0da5
commit 6bb31d1cbf

View file

@ -11,6 +11,12 @@ clone:
depth: 0
steps:
- name: prepare
image: alpine
commands:
# Because we run the next step as user 1000 to make podman work:
- chown -R 1000:1000 .
- name: build-jars
image: registry.mnl.de/mnl/jdk21-builder:v3
environment:
@ -19,8 +25,6 @@ steps:
REGISTRY_TOKEN:
from_secret: REGISTRY_TOKEN
commands:
# Because we run this as user 1000 to make podman work:
- git config --global --add safe.directory $(pwd)
- ./gradlew -Pdocker.registry=$REGISTRY/$REGISTRY_USER build apidocs publishImage
backend_options:
kubernetes: