From 13c974c7ccc4837b573d7dda790364c55185b915 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Fri, 24 Jul 2020 22:35:25 -0500 Subject: [PATCH] Updated CI to have develop build --- containers/builder/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/containers/builder/Makefile b/containers/builder/Makefile index e66f3dffb..53a827dbc 100644 --- a/containers/builder/Makefile +++ b/containers/builder/Makefile @@ -81,7 +81,12 @@ release: build-nc publish ## Make a release by building and publishing the `{ver @echo "Cleaning up" docker rmi $(APP_NAME):latest +develop: build-nc publish-dev ## Develop build, do not publish latest + @echo "Cleaning up" + docker rmi $(APP_NAME):unstable + release-cached: build publish ## Make a release by building and publishing the `{version}` ans `latest` tagged containers to ECR +develop-cached: build login publish-dev ## develop release publish: login publish-latest publish-version #publish-version ## Publish the `{version}` ans `latest` tagged containers to ECR @echo "Publishing done" @@ -93,6 +98,11 @@ publish-latest: ## Publish the `latest` taged container to ECR docker push $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):latest #docker rmi $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):latest +publish-dev: ## Publish the `unstable` taged container to ECR + @echo 'publish unstable to $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME)' + docker tag $(APP_NAME):latest $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):unstable + docker push $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):unstable + publish-version: tag-version ## Publish the `{version}` taged container to ECR @echo 'publish latest to $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):$(VERSION)' docker tag $(APP_NAME):latest $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):$(VERSION) -- GitLab