mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Add Makefile to build examples/cluster-dns images
This commit is contained in:
parent
da194b4637
commit
28aa9b4d35
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:
|
Loading…
Reference in New Issue
Block a user