Debug woodpecker
This commit is contained in:
parent
a1cf0cf5d4
commit
d1bf803df2
1 changed files with 4 additions and 4 deletions
|
|
@ -10,10 +10,10 @@ steps:
|
||||||
REGISTRY_PASSWORD:
|
REGISTRY_PASSWORD:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
- echo "Username length: ${#REGISTRY_USERNAME}"
|
- echo "Testing secrets..."
|
||||||
- echo "Password length: ${#REGISTRY_PASSWORD}"
|
- test -n "$REGISTRY_USERNAME" || (echo "USERNAME IS EMPTY" && exit 1)
|
||||||
- if [ -z "$REGISTRY_USERNAME" ]; then echo "USERNAME IS EMPTY"; exit 1; fi
|
- test -n "$REGISTRY_PASSWORD" || (echo "PASSWORD IS EMPTY" && exit 1)
|
||||||
- if [ -z "$REGISTRY_PASSWORD" ]; then echo "PASSWORD IS EMPTY"; exit 1; fi
|
- echo "Secrets OK"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: docker
|
image: docker
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue