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