idhub entrypoint: make git commit footer work
This commit is contained in:
parent
dd0488cbe8
commit
69857af966
|
@ -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() {
|
||||||
|
|
Reference in New Issue