Use git to generate docker tag
This commit is contained in:
parent
a9a8109cb6
commit
2734f49ab0
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
DOKKU_HOST := dokku@dev.lookingfora.name
|
||||
SHELL := /bin/bash
|
||||
DOCKER_IMAGE_NAME ?= bornholm/hydra-passwordless
|
||||
DOCKER_IMAGE_TAG ?= $(shell date +%Y%m%d%H%M)
|
||||
DOCKER_IMAGE_TAG ?= $(shell git describe --always)
|
||||
|
||||
build:
|
||||
CGO_ENABLED=0 go build -v -o bin/server ./cmd/server
|
||||
|
|
Loading…
Reference in New Issue