From a3e4e84d165fd8a9757cb6be5100aad4636e6f12 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 22 May 2018 12:55:09 -0700 Subject: [PATCH] Makefile: define "DOCKER_IMAGE_*" Signed-off-by: Gyuho Lee --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index abf946e..a0a7861 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ export PATH := $(PWD)/bin:$(PATH) VERSION ?= $(shell ./scripts/git-version) SHA ?= $(shell git rev-parse HEAD) -DOCKER_IMAGE = coreos/zetcd:$(VERSION) +DOCKER_IMAGE_GCR = gcr.io/etcd-development/zetcd:$(VERSION) +DOCKER_IMAGE_QUAY = quay.io/coreos/zetcd:$(VERSION) $(shell mkdir -p bin) @@ -19,7 +20,8 @@ bin/zetcd-release: ./scripts/docker-build docker-image: bin/zetcd-release - docker build -t $(DOCKER_IMAGE) . + docker build -t $(DOCKER_IMAGE_GCR) . + docker build -t $(DOCKER_IMAGE_QUAY) . clean: rm -rf bin/