1
0
Fork 0
mirror of https://github.com/aevea/action-kaniko.git synced 2025-05-12 10:30:02 +02:00

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}