9 lines
183 B
Plaintext
9 lines
183 B
Plaintext
|
#! /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 .
|