Skip to content
Snippets Groups Projects
Commit 13c974c7 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Updated CI to have develop build

parent 6b758aba
No related branches found
No related tags found
1 merge request!3v2.0.1
...@@ -81,7 +81,12 @@ release: build-nc publish ## Make a release by building and publishing the `{ver ...@@ -81,7 +81,12 @@ release: build-nc publish ## Make a release by building and publishing the `{ver
@echo "Cleaning up" @echo "Cleaning up"
docker rmi $(APP_NAME):latest 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 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 publish: login publish-latest publish-version #publish-version ## Publish the `{version}` ans `latest` tagged containers to ECR
@echo "Publishing done" @echo "Publishing done"
...@@ -93,6 +98,11 @@ publish-latest: ## Publish the `latest` taged container to ECR ...@@ -93,6 +98,11 @@ publish-latest: ## Publish the `latest` taged container to ECR
docker push $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):latest docker push $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):latest
#docker rmi $(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 publish-version: tag-version ## Publish the `{version}` taged container to ECR
@echo 'publish latest to $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):$(VERSION)' @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) docker tag $(APP_NAME):latest $(REG_NAME)/$(GL_REG_GROUP)/$(APP_NAME):$(VERSION)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment