From 850e92de610dbeb9cc3fc4e9cd438bd37274f352 Mon Sep 17 00:00:00 2001 From: nosamad Date: Fri, 29 Mar 2019 00:32:33 +0100 Subject: [PATCH] adds registry prefix to allow usage of custom registry (on-premise) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d045175..afe9e5c 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ $(VERBOSE)SILENT := @ $(HOST_CONTAINER)container_run_volumes += '$(realpath $(PROJECT_ROOT)):$(CONTAINER_PROJECT_ROOT):cached' $(HOST_CONTAINER)container_run_volumes += '$(realpath $(OUT)/$1):$(CONTAINER_OUT)/$1:delegated' -container_name = $(subst -,/,$1)/$(PROJECT_NAME):$(VERSION) +container_name = $(REGISTRY_PREFIX)$(subst -,/,$1)/$(PROJECT_NAME):$(VERSION) container_run = $(DOCKER) run $(DOCKER_RUNFLAGS) $3 \ $(addprefix --volume ,$(call container_run_volumes,$1)) \ --workdir '$(CONTAINER_OUT)/$1' \