From 66f2455916557ac6dd5f580625fa24cd62720b85 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Fri, 24 Apr 2020 20:22:37 -0700 Subject: [PATCH] Update Makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 23da041..3385cf8 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,12 @@ build: # # Build Docker image # +TAG ?= localhost/podsync .PHONY: docker docker: GOOS=linux GOARCH=amd64 go build -o podsync ./cmd/podsync - docker build -t mxpv/podsync:unstable . - docker push mxpv/podsync:unstable + docker build -t $(TAG) . + docker push $(TAG) # # Pull GolangCI-Lint dependency