Fix Ranger Tagging in image publish process

Improper variables used for tagging process.
This patchset will fix those variables.

Change-Id: Iea20a757b39a85c06e02cea027d77bdac0cab709
This commit is contained in:
jh629g 2019-11-20 08:45:50 -06:00
parent 81ff00435a
commit 5b9bf35b14

View File

@ -18,7 +18,7 @@ IMAGE_PREFIX ?= attcomdev
IMAGE_TAG ?= latest
HELM ?= helm
LABEL ?= miscellaneous
COMMIT ?= $(shell git rev-parse HEAD)
COMMIT := $(shell git rev-parse HEAD)
PROXY ?= http://foo.proxy.com:8000
PUSH_IMAGE ?= false
NO_PROXY ?= localhost,127.0.0.1,.svc.cluster.local
@ -30,9 +30,9 @@ IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${COMMIT}
IMAGE_DIR:=images/$(IMAGE_NAME)
# Build ranger Docker image for this project
#make images will build and run ranger and rangercli
.PHONY: images
images: $(IMAGE_NAME)
#make images will build and run ranger and rangercli
$(IMAGE_NAME):
@echo
@echo "===== Processing [$@] image ====="
@ -73,7 +73,6 @@ endif
ifeq ($(PUSH_IMAGE), true)
docker push $(IMAGE)
docker push $(IMAGE_LATEST)
endif
.PHONY: build_rangercli