idhub entrypoint: make git commit footer work

This commit is contained in:
pedro 2024-03-06 18:53:34 +01:00
parent dd0488cbe8
commit 69857af966

View file

@ -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() {