Commit 5fdf994e authored by Alberto Pascual's avatar Alberto Pascual
Browse files

makefiles version container

parent 61a06e7e
Pipeline #429 passed with stages
in 54 seconds
......@@ -8,13 +8,13 @@ include .makefiles/base.mk
include .makefiles/k8s.mk
build-web: ## Build a specific version (e.g. build-2.7)
docker build -t '$(IMAGENAMEWEB)' -f demo/Dockerfile demo/;
docker build -t '$(IMAGENAMEWEB):$(VERSION)' -f demo/Dockerfile demo/;
push-web: build-web ## Push the "latest" tag to dockerhub
docker push '$(IMAGENAMEWEB):$(VERSION)'
build-latest: ## Build a specific version (e.g. build-2.7)
docker build -t '$(IMAGENAME)' -f Dockerfile .;
docker build -t '$(IMAGENAME):$(VERSION)' -f Dockerfile .;
push-latest: build-latest ## Push the "latest" tag to dockerhub
docker push '$(IMAGENAME):$(VERSION)'
\ No newline at end of file
Supports Markdown
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