Allow podman.
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:29:33 +02:00
parent f6867e07bf
commit dbf9dd0da5

View file

@ -19,4 +19,12 @@ 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:
securityContext:
privileged: true
runAsUser: 1000
runAsGroup: 1000