diff options
author | Starfall <us@starfall.systems> | 2020-07-01 16:25:03 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-07-03 19:54:39 -0500 |
commit | de293f77a8c9921baa7de09549741a71399df965 (patch) | |
tree | bcbff42f74559f057c75e2000389d04c6d725a38 /hooks/build | |
parent | 9b8ab85007cc9b527ba8c59a3624731cd8e46ffe (diff) |
Add commit hash to displayed version number
Also includes a few tweaks to the README
Diffstat (limited to 'hooks/build')
-rwxr-xr-x | hooks/build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hooks/build b/hooks/build new file mode 100755 index 000000000..4f7259bec --- /dev/null +++ b/hooks/build @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +echo "Building from ${SOURCE_COMMIT}" +docker build --build-arg SOURCE_COMMIT=`head -c 7 <<< $SOURCE_COMMIT` -t $IMAGE_NAME . |