mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Fix so make == make push in the kube-cross Makefile
This commit is contained in:
@@ -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
|
|
||||||
|
Reference in New Issue
Block a user