Fix so make == make push in the kube-cross Makefile
This commit is contained in:
parent
d1c5ae65d8
commit
c7233ab824
@ -14,13 +14,14 @@
|
|||||||
|
|
||||||
.PHONY: build push
|
.PHONY: build push
|
||||||
|
|
||||||
IMAGE = kube-cross
|
IMAGE=kube-cross
|
||||||
TAG = $(shell cat VERSION)
|
TAG=$(shell cat VERSION)
|
||||||
|
|
||||||
|
|
||||||
|
all: push
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
|
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
|
||||||
|
|
||||||
push: build
|
push: build
|
||||||
gcloud docker --server=gcr.io push gcr.io/google_containers/$(IMAGE):$(TAG)
|
gcloud docker --server=gcr.io push gcr.io/google_containers/$(IMAGE):$(TAG)
|
||||||
|
|
||||||
all: push
|
|
||||||
|
Loading…
Reference in New Issue
Block a user