|
|
@ -83,7 +83,6 @@ docker: clean buildquick |
|
|
|
@echo CURR_MODEL_NAME=$(CURR_MODEL_NAME); |
|
|
|
@echo GIT_BRANCH=$(GIT_BRANCH); |
|
|
|
@if [[ $(GIT_BRANCH) = $(BRANCH_DEV) || $(GIT_BRANCH) = $(BRANCH_MASTER) ]]; then\
|
|
|
|
cd pack;\
|
|
|
|
docker build -t $(CURR_MODEL_NAME):$(K8S_DEPLOY_PARAM_IMAGE_TAG) .;\
|
|
|
|
docker tag $(CURR_MODEL_NAME):$(K8S_DEPLOY_PARAM_IMAGE_TAG) $(ACR_PREFIX)/$(CURR_MODEL_NAME):$(K8S_DEPLOY_PARAM_IMAGE_TAG); \
|
|
|
|
docker push $(ACR_PREFIX)/$(CURR_MODEL_NAME):$(K8S_DEPLOY_PARAM_IMAGE_TAG); \
|
|
|
|