mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
vendor updates
This commit is contained in:
14
vendor/k8s.io/kubernetes/cluster/images/kubemark/Makefile
generated
vendored
14
vendor/k8s.io/kubernetes/cluster/images/kubemark/Makefile
generated
vendored
@ -15,18 +15,22 @@
|
||||
# build Kubemark image from currently built binaries containing both 'real' master and Hollow Node.
|
||||
# This makefile assumes that the kubemark binary is present in this directory.
|
||||
|
||||
REGISTRY?=gcr.io
|
||||
PROJECT?=google_containers
|
||||
# Allow the caller to override this. Beware make's precedence. This:
|
||||
# REGISTRY=$VAR make
|
||||
# .. is not the same as:
|
||||
# make REGISTRY=$VAR
|
||||
REGISTRY := $(if $(REGISTRY),$(REGISTRY),staging-k8s.gcr.io)
|
||||
IMAGE_TAG := $(if $(IMAGE_TAG),$(IMAGE_TAG),latest)
|
||||
|
||||
all: gcloudpush
|
||||
|
||||
build:
|
||||
docker build --pull -t $(REGISTRY)/$(PROJECT)/kubemark .
|
||||
docker build --pull -t $(REGISTRY)/kubemark:$(IMAGE_TAG) .
|
||||
|
||||
gcloudpush: build
|
||||
gcloud docker -- push $(REGISTRY)/$(PROJECT)/kubemark
|
||||
docker push $(REGISTRY)/kubemark:$(IMAGE_TAG)
|
||||
|
||||
push: build
|
||||
docker -- push $(REGISTRY)/$(PROJECT)/kubemark
|
||||
docker -- push $(REGISTRY)/kubemark:$(IMAGE_TAG)
|
||||
|
||||
.PHONY: all build gcloudpush push
|
||||
|
Reference in New Issue
Block a user