1 Commits
main ... dev

Author SHA1 Message Date
98eb601fd3 hack/docker-build: add GIT_TAG 2025-08-08 10:46:34 +02:00

View File

@ -1,8 +1,11 @@
#! /bin/bash
set -ex
GIT_TAG=$(git describe --always --dirty)
case "$1" in
commit) tag=$(git describe --always --dirty) ;;
commit) tag=$GIT_TAG ;;
"") tag=latest ;;
*) tag=$1 ;;
esac
docker build -t novit.tech/direktil/local-server:$tag .
docker build -t novit.tech/direktil/local-server:$tag . --build-arg GIT_TAG=$GIT_TAG