Build push image to the right place and adjust makefile to use script (#35)

* build push docker image

* Update build-push-featurebranch.sh
This commit is contained in:
gadotroee
2021-05-09 12:05:05 +03:00
committed by GitHub
parent 3f0ce35de0
commit c3d0941d9c
2 changed files with 21 additions and 4 deletions

View File

@@ -17,8 +17,6 @@ help: ## This help.
# Variables and lists
TS_SUFFIX="$(shell date '+%s')"
DOCKER_IMG="up9inc/mizu"
DOCKER_TAG="latest"
ui: ## build UI
@(cd ui; npm i ; npm run build; )
@@ -38,8 +36,7 @@ tap: ## build tap binary
docker: ## build Docker image
@(echo "building docker image" )
docker build -t ${DOCKER_IMG}:${DOCKER_TAG} .
docker images ${DOCKER_IMG}
./build-push-featurebranch.sh
publish: ## build and publish Mizu docker image & CLI
@echo "publishing Docker image .. "