9 lines
183 B
Bash
Executable File
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 .
|