From 6b8aa9df34fb8bd9f3db8b15ba7cecfcb1906fcb Mon Sep 17 00:00:00 2001 From: Shivkumar Dudhani Date: Tue, 14 Jan 2020 10:24:05 -0800 Subject: [PATCH] add missing var for PACKAGE (#623) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 732a1facce..506f4fb2a1 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ REGISTRY=index.docker.io REPO=$(REGISTRY)/nirmata/kyverno IMAGE_TAG=$(GIT_VERSION) GOOS ?= $(shell go env GOOS) +PACKAGE ?=github.com/nirmata/kyverno LD_FLAGS="-s -w -X $(PACKAGE)/pkg/version.BuildVersion=$(GIT_VERSION) -X $(PACKAGE)/pkg/version.BuildHash=$(GIT_HASH) -X $(PACKAGE)/pkg/version.BuildTime=$(TIMESTAMP)" ##################################