Commit 0c0ae228 authored by Alex Castaño's avatar Alex Castaño

Descriptions in Makefile

parent 7c04e901
......@@ -24,7 +24,7 @@ build: ## Build the Docker image
-t moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) .
@echo moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD)
build_with_cache: ## Build the Docker image
build_with_cache: ## Build the Docker image using previous cache
@echo APP_NAME=$(APP_NAME)
@echo APP_VSN=$(APP_VSN)
@echo APP_BUILD=$(APP_BUILD)
......@@ -38,13 +38,13 @@ build_with_cache: ## Build the Docker image
-t moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) .
@echo moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD)
push:
push: ## Add latest tag to last build and push
@echo docker tag moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) moodlenet/moodlenet:latest
@docker tag moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) moodlenet/moodlenet:latest
@echo docker push moodlenet/moodlenet:latest
@docker push moodlenet/moodlenet:latest
push_stable:
push_stable: ## Tag stable, latest and version tags to the last build and push
@echo docker tag moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) moodlenet/moodlenet:latest
@docker tag moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) moodlenet/moodlenet:latest
@echo docker tag moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) moodlenet/moodlenet:$(APP_VSN)
......@@ -53,6 +53,8 @@ push_stable:
@docker tag moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD) moodlenet/moodlenet:stable
@echo docker push moodlenet/moodlenet:latest
@docker push moodlenet/moodlenet:latest
@echo docker push moodlenet/moodlenet:stable
@docker push moodlenet/moodlenet:stable
@echo docker push moodlenet/moodlenet:$(APP_VSN)
@docker push moodlenet/moodlenet:$(APP_VSN)
@echo docker push moodlenet/moodlenet:$(APP_VSN)-$(APP_BUILD)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment