From df65b7d80cd883275345a0cd2123a0f2ac36093c Mon Sep 17 00:00:00 2001 From: Werner Van Geit Date: Wed, 10 Jul 2024 09:45:42 +0200 Subject: [PATCH] Add staging publish make target --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 0a56e5f..7c597bb 100755 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ export DOCKER_IMAGE_TAG ?= 0.1.2 export MASTER_AWS_REGISTRY ?= registry.osparc-master-zmt.click export MASTER_REGISTRY ?= registry.osparc-master.speag.com +export STAGING_REGISTRY ?= registry.osparc.speag.com export LOCAL_REGISTRY ?= registry:5000 define _bumpversion @@ -69,6 +70,12 @@ publish-master: ## push to local throw away registry to test integration docker push $(MASTER_REGISTRY)/simcore/services/dynamic/$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) @curl $(MASTER_REGISTRY)/v2/_catalog | jq +.PHONY: publish-staging +publish-staging: ## push to local throw away registry to test integration + docker tag simcore/services/dynamic/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} $(STAGING_REGISTRY)/simcore/services/dynamic/$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) + docker push $(STAGING_REGISTRY)/simcore/services/dynamic/$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG) + @curl $(STAGING_REGISTRY)/v2/_catalog | jq + .PHONY: publish-master-aws publish-master-aws: ## push to local throw away registry to test integration docker tag simcore/services/dynamic/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} $(MASTER_AWS_REGISTRY)/simcore/services/dynamic/$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG)