Debug woodpecker

This commit is contained in:
myrmidex 2025-07-13 21:21:10 +02:00
parent 3ccbc656b4
commit a1cf0cf5d4

View file

@ -2,6 +2,19 @@ when:
event: tag
steps:
test-secrets:
image: alpine
environment:
REGISTRY_USERNAME:
from_secret: REGISTRY_USERNAME
REGISTRY_PASSWORD:
from_secret: REGISTRY_PASSWORD
commands:
- echo "Username length: ${#REGISTRY_USERNAME}"
- echo "Password length: ${#REGISTRY_PASSWORD}"
- if [ -z "$REGISTRY_USERNAME" ]; then echo "USERNAME IS EMPTY"; exit 1; fi
- if [ -z "$REGISTRY_PASSWORD" ]; then echo "PASSWORD IS EMPTY"; exit 1; fi
build:
image: docker
environment: