From 25c9b1ba4d039f483af5013258fba1c984d2f63a Mon Sep 17 00:00:00 2001 From: Philipp Mieden Date: Mon, 14 Sep 2020 12:12:29 +0200 Subject: [PATCH] fix docker-build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cdd32f5..cda2797 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ TAG ?= latest docker-build: - GOARCH=amd64 GOOS=linux CGO_ENABLED=0 go build -o docker/petze petze.go -ldflags "-X main.Version=$TAG" + GOARCH=amd64 GOOS=linux CGO_ENABLED=0 go build -ldflags "-X main.Version=$(TAG)" -o docker/petze petze.go docker build -t foomo/petze:$(TAG) docker rm -vf docker/petze