X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fdevops.git;a=blobdiff_plain;f=docker%2Fmk%2FMakefile.include;h=995cbdf214b91d292f36c527662c04089cad3d17;hp=e151748381ede62914eac9a61373bf9afa200c58;hb=fd94ec1d6b3780babaca2724a48f9dba12756cda;hpb=60dae31b4173f6578cadb697c44f623424e5da14 diff --git a/docker/mk/Makefile.include b/docker/mk/Makefile.include index e1517483..995cbdf2 100644 --- a/docker/mk/Makefile.include +++ b/docker/mk/Makefile.include @@ -26,6 +26,7 @@ RELEASE ?= ReleaseEIGHT-daily REPOSITORY_KEY ?= OSM%20ETSI%20Release%20Key.gpg REPOSITORY ?= testing NO_CACHE ?= --no-cache +DOCKER_REGISTRY ?= "" LOWER_MDG = $(shell echo $(MDG) | tr '[:upper:]' '[:lower:]') @@ -81,7 +82,7 @@ clean: rm -f $(MKBUILD)/.dep* tag: - docker tag opensourcemano/$(CONTAINER_NAME):$(INPUT_TAG) opensourcemano/$(LOWER_MDG):$(TAG) + docker tag opensourcemano/$(CONTAINER_NAME):$(INPUT_TAG) $(DOCKER_REGISTRY)opensourcemano/$(LOWER_MDG):$(TAG) push: tag - docker push opensourcemano/$(LOWER_MDG):$(TAG) + docker push $(DOCKER_REGISTRY)opensourcemano/$(LOWER_MDG):$(TAG)