hack: +install +docker-build
This commit is contained in:
parent
07e9dccd06
commit
29ed01a19f
8
hack/docker-build
Executable file
8
hack/docker-build
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#! /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 .
|
4
hack/install
Executable file
4
hack/install
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
set -ex
|
||||||
|
go install -trimpath -ldflags "-X main.Version=$(git describe --always --dirty)" \
|
||||||
|
./cmd/dkl-dir2config
|
Loading…
Reference in New Issue
Block a user