jdk21-builder/.woodpecker/publish.yaml
Michael N. Lipp 709b00a1ca
All checks were successful
ci/woodpecker/manual/publish Pipeline was successful
Test.
2025-08-10 17:43:57 +02:00

32 lines
729 B
YAML

when:
- event: manual
clone:
- name: git
image: woodpeckerci/plugin-git
settings:
partial: false
tags: true
depth: 50
steps:
- name: publish
image: quay.io/podman/stable
environment:
REGISTRY: registry.mnl.de
REGISTRY_USER: mnl
REGISTRY_TOKEN:
from_secret: REGISTRY_TOKEN
commands:
- export IMAGE_TAG=$(git describe --tags)
- 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 .
backend_options:
kubernetes:
securityContext:
privileged: true
runAsUser: 1000
runAsGroup: 1000