From 69857af96692f5a8cfa79d2ca3030ac2f0477306 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 6 Mar 2024 18:53:34 +0100 Subject: [PATCH] idhub entrypoint: make git commit footer work --- docker/idhub.entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/idhub.entrypoint.sh b/docker/idhub.entrypoint.sh index 2bd21e2..9e74f83 100755 --- a/docker/idhub.entrypoint.sh +++ b/docker/idhub.entrypoint.sh @@ -18,7 +18,7 @@ END inject_env_vars() { # related https://www.kenmuse.com/blog/avoiding-dubious-ownership-in-dev-containers/ git config --global --add safe.directory "${idhub_dir}" - export GIT_COMMIT="$(git log --pretty=format:'%h' -n 1)" + export COMMIT="commit: $(git log --pretty=format:'%h' -n 1)" } deployment_strategy() {