diff --git a/Makefile b/Makefile index 0a5050d..cc6354b 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ REGISTRY?=gcr.io/k8s-minikube +VERSION=v0.0.1 build: CGO_ENABLED=0 GOOS=linux go build -o out/gcp-auth-webhook -ldflags=$(PROVISIONER_LDFLAGS) server.go .PHONY: image image: build - docker build -t $(REGISTRY)/gcp-auth-webhook -f Dockerfile ./out + docker build -t $(REGISTRY)/gcp-auth-webhook:$(VERSION) -f Dockerfile ./out .PHONY: push push: image - docker push $(REGISTRY)/gcp-auth-webhook + docker push $(REGISTRY)/gcp-auth-webhook:$(VERSION)