mirror of
https://github.com/chatmail/relay.git
synced 2026-05-21 13:28:05 +00:00
docker: normalize GIT_HASH to full sha, document version files
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user