Try differently.
This commit is contained in:
parent
dbf9dd0da5
commit
6bb31d1cbf
1 changed files with 6 additions and 2 deletions
|
|
@ -11,6 +11,12 @@ clone:
|
||||||
depth: 0
|
depth: 0
|
||||||
|
|
||||||
steps:
|
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
|
- name: build-jars
|
||||||
image: registry.mnl.de/mnl/jdk21-builder:v3
|
image: registry.mnl.de/mnl/jdk21-builder:v3
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -19,8 +25,6 @@ steps:
|
||||||
REGISTRY_TOKEN:
|
REGISTRY_TOKEN:
|
||||||
from_secret: REGISTRY_TOKEN
|
from_secret: REGISTRY_TOKEN
|
||||||
commands:
|
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
|
- ./gradlew -Pdocker.registry=$REGISTRY/$REGISTRY_USER build apidocs publishImage
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue