local-server/hack/docker-build
2023-11-27 13:52:44 +01:00

9 lines
183 B
Bash
Executable File

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