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

Commit

Permalink
Makefile: define "DOCKER_IMAGE_*"
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed May 22, 2018
1 parent 3589bdd commit a3e4e84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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/
Expand Down

0 comments on commit a3e4e84

Please sign in to comment.