This commit is contained in:
Michael Lipp 2025-08-10 18:24:19 +02:00
parent 5398059bb1
commit 1a4a8a2d4b

View file

@ -1,5 +1,5 @@
when:
- event: manual
- event: tag
clone:
- name: git
@ -19,14 +19,15 @@ steps:
from_secret: REGISTRY_TOKEN
commands:
# Because we run this as user 1000 to make podman work:
- git config --global --add safe.directory $(pwd)
- git describe --tags
- export IMAGE_TAG=$(git describe --tags)
- echo $IMAGE_TAG
- export IMAGE_REF="$REGISTRY/$REGISTRY_USER/jdk21-builder:$IMAGE_TAG"
- echo $REGISTRY_TOKEN | podman login -u $REGISTRY_USER --password-stdin $REGISTRY
- echo Building image $IMAGE_REF
# - podman build -t $IMAGE_TAG .
- podman build -t $IMAGE_REF .
- podman push $IMAGE_REF
backend_options:
kubernetes:
securityContext: