From 190b973a83844ebe2ae4da84e821594d281f1b49 Mon Sep 17 00:00:00 2001 From: Yorick Date: Tue, 26 Nov 2024 23:42:27 +0000 Subject: [PATCH] Deposit cli source build detection --- ethd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ethd b/ethd index ee3321ae..55e46eb3 100755 --- a/ethd +++ b/ethd @@ -550,7 +550,11 @@ __source_build() { case "${__value}" in *deposit-cli.yml* ) - __docompose --profile tools build --pull --no-cache deposit-cli-new + __var="DEPCLI_DOCKERFILE" + __build=$(__get_value_from_env "${__var}" "${__env_file}") + if [ "${__build}" = "Dockerfile.source" ]; then + __docompose --profile tools build --pull --no-cache deposit-cli-new + fi ;; esac case "${__value}" in