mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +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
|
||||
|
||||
IMAGE=kube-cross
|
||||
REGISTRY?=staging-k8s.gcr.io
|
||||
IMAGE=$(REGISTRY)/kube-cross
|
||||
TAG=$(shell cat VERSION)
|
||||
|
||||
|
||||
all: push
|
||||
|
||||
build:
|
||||
docker build --pull -t staging-k8s.gcr.io/$(IMAGE):$(TAG) .
|
||||
docker build --pull -t $(IMAGE):$(TAG) .
|
||||
|
||||
push: build
|
||||
docker push staging-k8s.gcr.io/$(IMAGE):$(TAG)
|
||||
docker push $(IMAGE):$(TAG)
|
||||
|
Loading…
Reference in New Issue
Block a user