Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit aa23807

Browse files
authored
Add build info (#1048)
The build info was not set When Quesma was built using the `./bin/build-image.sh` script. Our telemetry data were not complete.
1 parent db7ce65 commit aa23807

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/build-image.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22
# Rebuilds the Quesma Docker image and tags it as quesma:nightly
33
set -e
44
cd "$(dirname "$0/")/.."
5-
docker build -f quesma/Dockerfile -t quesma/quesma:nightly quesma
5+
6+
QUESMA_BUILD_SHA=$(git rev-parse HEAD)
7+
QUESMA_BUILD_DATE=$(git --no-pager log -1 --date=format:'%Y-%m-%d' --format="%ad")
8+
QUESMA_VERSION="development"
9+
10+
docker build --build-arg QUESMA_BUILD_DATE="$QUESMA_BUILD_DATE" --build-arg QUESMA_VERSION="$QUESMA_VERSION" --build-arg QUESMA_BUILD_SHA="$QUESMA_BUILD_SHA" -f quesma/Dockerfile -t quesma/quesma:nightly quesma

0 commit comments

Comments
 (0)