add info target in makefiles

pull/210/head
Michelle Noorali 9 years ago
parent 2d75da6bc1
commit cef997ca3c

@ -21,6 +21,12 @@ TAG := latest
DIR := .
info:
@echo "Build tag: ${TAG}"
@echo "Registry: ${DOCKER_REGISTRY}"
@echo "Project: ${PROJECT}"
@echo "Image: ${IMAGE}"
push: container
ifeq ($(DOCKER_REGISTRY),gcr.io)
gcloud docker push $(PREFIX)/$(IMAGE):$(TAG)

@ -22,6 +22,12 @@ TAG := latest
ROOT_DIR := $(abspath ./..)
DIR = $(ROOT_DIR)
info:
@echo "Build tag: ${TAG}"
@echo "Registry: ${DOCKER_REGISTRY}"
@echo "Project: ${PROJECT}"
@echo "Image: ${IMAGE}"
push: container
ifeq ($(DOCKER_REGISTRY),gcr.io)
gcloud docker push $(PREFIX)/$(IMAGE):$(TAG)

@ -24,6 +24,12 @@ TAG := latest
ROOT_DIR := $(abspath ./..)
DIR = $(ROOT_DIR)
info:
@echo "Build tag: ${TAG}"
@echo "Registry: ${DOCKER_REGISTRY}"
@echo "Project: ${PROJECT}"
@echo "Image: ${IMAGE}"
push: container
ifeq ($(DOCKER_REGISTRY),gcr.io)
gcloud docker push $(PREFIX)/$(IMAGE):$(TAG)

Loading…
Cancel
Save