From 18316ff6c970aa3d10fa2bd865e2359263f04180 Mon Sep 17 00:00:00 2001 From: Stacey Fletcher Date: Wed, 21 Feb 2018 21:32:42 -0600 Subject: [PATCH] Update Makefile This ps updates the build commands to allow the same format to be used in att-comdev projects Change-Id: I0e200327d1ceeceaa2bfecf9a5525f25600726a4 --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index df271c91..a595aa6f 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,10 @@ # APP INFO DOCKER_REGISTRY ?= quay.io IMAGE_PREFIX ?= attcomdev -SHORT_NAME ?= armada +IMAGE_NAME ?= armada HELM ?= helm LABEL ?= commit-id PYTHON = python3 -APP = armada CHART = charts/armada # VERSION INFO @@ -18,8 +17,8 @@ ifdef VERSION DOCKER_VERSION = $(VERSION) endif -DOCKER_VERSION ?= git-${GIT_SHA} -IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${SHORT_NAME}:${DOCKER_VERSION} +IMAGE_TAG ?= git-${GIT_SHA} +IMAGE := ${DOCKER_REGISTRY}/${IMAGE_PREFIX}/${IMAGE_NAME}:${IMAGE_TAG} SHELL = /bin/bash info: