mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Add Makefile to build examples/cluster-dns images
This commit is contained in:
13
examples/cluster-dns/images/backend/Makefile
Normal file
13
examples/cluster-dns/images/backend/Makefile
Normal 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:
|
13
examples/cluster-dns/images/frontend/Makefile
Normal file
13
examples/cluster-dns/images/frontend/Makefile
Normal 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:
|
Reference in New Issue
Block a user