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
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ END
inject_env_vars() { inject_env_vars() {
# related https://www.kenmuse.com/blog/avoiding-dubious-ownership-in-dev-containers/ # related https://www.kenmuse.com/blog/avoiding-dubious-ownership-in-dev-containers/
git config --global --add safe.directory "${idhub_dir}" 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() { deployment_strategy() {