From 57b283703e87f08336c16be16f3b8587acac4311 Mon Sep 17 00:00:00 2001 From: redxef Date: Wed, 9 Mar 2022 16:09:23 +0100 Subject: [PATCH] Add debug echo. --- entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7ffec1d..2f35301 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,6 +13,11 @@ fail() { exit 1 } +echo_and_run() { + echo "$@" + "$@" +} + docker_login() { # TODO: detect registry url mkdir -p "$HOME/.docker" @@ -62,7 +67,7 @@ build() { done < "$additional_tags" fi - buildctl-daemonless.sh \ + echo_and_run buildctl-daemonless.sh \ build \ --frontend dockerfile.v0 \ --local context="$context" \