docker: normalize GIT_HASH to full sha, document version files

This commit is contained in:
j4n
2026-02-24 19:03:57 +01:00
parent 238884be70
commit 7c6f637490
2 changed files with 4 additions and 1 deletions

View File

@@ -5,5 +5,5 @@
# .git/ is excluded from the build context (.dockerignore) so the hash
# must be passed as a build arg from the host.
export GIT_HASH=$(git rev-parse --short HEAD)
export GIT_HASH=$(git rev-parse HEAD)
exec docker compose build "$@"