feat: adding debug flag

This commit is contained in:
Sandro Modarelli
2022-03-25 15:09:12 +01:00
committed by Alex Viscreanu
parent 17f90e5aa4
commit 20173de989
3 changed files with 7 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
#!/busybox/sh
set -e pipefail
if [[ "$INPUT_DEBUG" == "true" ]]; then
set -o xtrace
fi
export REGISTRY=${INPUT_REGISTRY:-"docker.io"}
export IMAGE=${INPUT_IMAGE}