Add Makefile to build examples/cluster-dns images

This commit is contained in:
Dr. Stefan Schimanski 2015-11-11 17:18:35 +01:00
parent da194b4637
commit 28aa9b4d35
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
TAG = v1
PREFIX = gcr.io/google_containers
IMAGE = example-dns-backend
all: push
image:
docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
push: image
gcloud docker push $(PREFIX)/$(IMAGE)
clean:

View File

@ -0,0 +1,13 @@
TAG = v1
PREFIX = gcr.io/google_containers
IMAGE = example-dns-frontend
all: push
image:
docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
push: image
gcloud docker push $(PREFIX)/$(IMAGE)
clean: