Allow podman.
This commit is contained in:
parent
f6867e07bf
commit
dbf9dd0da5
1 changed files with 8 additions and 0 deletions
|
|
@ -19,4 +19,12 @@ 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:
|
||||||
|
kubernetes:
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue