File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
test/kernel_log_generator Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ VERSION:=$(shell git describe --tags --dirty)
24
24
# TAG is the tag of the container image, default to binary version.
25
25
TAG? =$(VERSION )
26
26
27
- # PROJ is the image project .
28
- PROJ? = k8s.gcr.io
27
+ # REGISTRY is the container registry to push into .
28
+ REGISTRY? =staging- k8s.gcr.io
29
29
30
30
# UPLOAD_PATH is the cloud storage path to upload release tar.
31
31
UPLOAD_PATH? =gs://kubernetes-release
@@ -42,7 +42,7 @@ PKG_SOURCES:=$(shell find pkg cmd -name '*.go')
42
42
TARBALL: =node-problem-detector-$(VERSION ) .tar.gz
43
43
44
44
# IMAGE is the image name of the node problem detector container image.
45
- IMAGE: =$(PROJ ) /node-problem-detector:$(TAG )
45
+ IMAGE: =$(REGISTRY ) /node-problem-detector:$(TAG )
46
46
47
47
# ENABLE_JOURNALD enables build journald support or not. Building journald support needs libsystemd-dev
48
48
# or libsystemd-journal-dev.
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ Run `make` in the top directory. It will:
87
87
88
88
## Push Image
89
89
` make push ` uploads the docker image to registry. By default, the image will be uploaded to
90
- ` k8s.gcr.io ` . It's easy to modify the ` Makefile ` to push the image
90
+ ` staging- k8s.gcr.io` . It's easy to modify the ` Makefile ` to push the image
91
91
to another registry.
92
92
93
93
## Start DaemonSet
Original file line number Diff line number Diff line change 17
17
# If you update this image please bump the tag value before pushing.
18
18
#
19
19
# Usage:
20
- # [TAG=1.0] [REGISTRY=k8s.gcr.io] make push
20
+ # [TAG=1.0] [REGISTRY=staging- k8s.gcr.io] make push
21
21
22
22
# Default registry, arch and tag. This can be overwritten by arguments to make
23
23
TAG? =1.0
24
- REGISTRY? =k8s.gcr.io
24
+ REGISTRY? =staging- k8s.gcr.io
25
25
ARCH? =amd64
26
26
27
27
all : build
@@ -33,8 +33,8 @@ build: nethealth
33
33
docker build -t $(REGISTRY ) /kube-nethealth-$(ARCH ) :$(TAG ) .
34
34
35
35
push : build
36
- ifeq ($(REGISTRY ) ,k8s.gcr.io)
37
- gcloud docker push $(REGISTRY)/kube-nethealth-$(ARCH):$(TAG)
36
+ ifeq ($(REGISTRY ) ,staging- k8s.gcr.io)
37
+ gcloud docker -- push $(REGISTRY)/kube-nethealth-$(ARCH):$(TAG)
38
38
else
39
39
docker push $(REGISTRY)/kube-nethealth-$(ARCH):$(TAG)
40
40
endif
Original file line number Diff line number Diff line change 16
16
17
17
.PHONY : all build push
18
18
19
- PROJ ?= k8s.gcr.io
19
+ PROJ ?= staging- k8s.gcr.io
20
20
TAG := 0.1
21
21
22
22
all : push
You can’t perform that action at this time.
0 commit comments