Skip to content
This repository was archived by the owner on Oct 7, 2023. It is now read-only.

Commit a3e4e84

Browse files
committed
Makefile: define "DOCKER_IMAGE_*"
Signed-off-by: Gyuho Lee <[email protected]>
1 parent 3589bdd commit a3e4e84

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ export PATH := $(PWD)/bin:$(PATH)
33
VERSION ?= $(shell ./scripts/git-version)
44
SHA ?= $(shell git rev-parse HEAD)
55

6-
DOCKER_IMAGE = coreos/zetcd:$(VERSION)
6+
DOCKER_IMAGE_GCR = gcr.io/etcd-development/zetcd:$(VERSION)
7+
DOCKER_IMAGE_QUAY = quay.io/coreos/zetcd:$(VERSION)
78

89
$(shell mkdir -p bin)
910

@@ -19,7 +20,8 @@ bin/zetcd-release:
1920
./scripts/docker-build
2021

2122
docker-image: bin/zetcd-release
22-
docker build -t $(DOCKER_IMAGE) .
23+
docker build -t $(DOCKER_IMAGE_GCR) .
24+
docker build -t $(DOCKER_IMAGE_QUAY) .
2325

2426
clean:
2527
rm -rf bin/

0 commit comments

Comments
 (0)