feat: adding debug flag

This commit is contained in:
Sandro Modarelli
2022-03-31 11:29:47 +02:00
committed by Alex Viscreanu
parent 17f90e5aa4
commit 20173de989
3 changed files with 7 additions and 0 deletions
+3
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}