Skip to content

Commit

Permalink
Merge pull request #79911 from javier-b-perez/patch-1
Browse files Browse the repository at this point in the history
kube-cross makefile add REGISTRY
  • Loading branch information
k8s-ci-robot committed Jul 9, 2019
2 parents 84e5b85 + 6afd893 commit 99ff994
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/build-image/cross/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 99ff994

Please sign in to comment.