aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/make/Makefile b/make/Makefile
index f492d60..d04b1c2 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -13,15 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-REGISTRY_HOST=docker.io
-USERNAME=$(USER)
-NAME=$(shell basename $(CURDIR))
+REGISTRY_HOST?=docker.io
+USERNAME?=$(USER)
+NAME?=$(shell basename $(CURDIR))
RELEASE_SUPPORT := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))/.make-release-support
-IMAGE=$(REGISTRY_HOST)/$(USERNAME)/$(NAME)
+IMAGE?=$(REGISTRY_HOST)/$(NAME)
-VERSION=$(shell . $(RELEASE_SUPPORT) ; getVersion)
-TAG=$(shell . $(RELEASE_SUPPORT); getTag)
+VERSION?=$(shell . $(RELEASE_SUPPORT) ; getVersion)
+TAG?=$(shell . $(RELEASE_SUPPORT); getTag)
SHELL=/bin/bash