mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #79911 from javier-b-perez/patch-1
kube-cross makefile add REGISTRY
This commit is contained in:
commit
99ff994948
@ -14,14 +14,15 @@
|
|||||||
|
|
||||||
.PHONY: build push
|
.PHONY: build push
|
||||||
|
|
||||||
IMAGE=kube-cross
|
REGISTRY?=staging-k8s.gcr.io
|
||||||
|
IMAGE=$(REGISTRY)/kube-cross
|
||||||
TAG=$(shell cat VERSION)
|
TAG=$(shell cat VERSION)
|
||||||
|
|
||||||
|
|
||||||
all: push
|
all: push
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build --pull -t staging-k8s.gcr.io/$(IMAGE):$(TAG) .
|
docker build --pull -t $(IMAGE):$(TAG) .
|
||||||
|
|
||||||
push: build
|
push: build
|
||||||
docker push staging-k8s.gcr.io/$(IMAGE):$(TAG)
|
docker push $(IMAGE):$(TAG)
|
||||||
|
Loading…
Reference in New Issue
Block a user