Skip to content

Commit b7dc955

Browse files
authored
Merge pull request #11288 from azhao155/yzhao/feature/autopause-image
Update image repo for auto-pause-hook
2 parents 4184a9d + a84652f commit b7dc955

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ SHA512SUM=$(shell command -v sha512sum || echo "shasum -a 512")
9898
GVISOR_TAG ?= latest
9999

100100
# auto-pause-hook tag to push changes to
101-
AUTOPAUSE_HOOK_TAG ?= 1.13
101+
AUTOPAUSE_HOOK_TAG ?= v0.0.2
102102

103103
# prow-test tag to push changes to
104104
PROW_TEST_TAG ?= v0.0.1
@@ -874,12 +874,12 @@ deploy/addons/auto-pause/auto-pause-hook: $(SOURCE_GENERATED) ## Build auto-paus
874874

875875
.PHONY: auto-pause-hook-image
876876
auto-pause-hook-image: deploy/addons/auto-pause/auto-pause-hook ## Build docker image for auto-pause hook
877-
docker build -t docker.io/azhao155/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG) ./deploy/addons/auto-pause
877+
docker build -t $(REGISTRY)/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG) ./deploy/addons/auto-pause
878878

879879
.PHONY: push-auto-pause-hook-image
880880
push-auto-pause-hook-image: auto-pause-hook-image
881-
docker login docker.io/azhao155
882-
$(MAKE) push-docker IMAGE=docker.io/azhao155/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG)
881+
docker login gcr.io/k8s-minikube
882+
$(MAKE) push-docker IMAGE=$(REGISTRY)/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG)
883883

884884
.PHONY: prow-test-image
885885
prow-test-image:

pkg/minikube/assets/addons.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ var Addons = map[string]*Addon{
105105

106106
// GuestPersistentDir
107107
}, false, "auto-pause", map[string]string{
108-
"AutoPauseHook": "azhao155/auto-pause-hook:1.13",
108+
"AutoPauseHook": "k8s-minikube/auto-pause-hook:v0.0.2@sha256:c76be418df5ca9c66d0d11c2c68461acbf4072c1cdfc17e64729c5ef4d5a4128",
109109
}, map[string]string{
110-
"AutoPauseHook": "docker.io",
110+
"AutoPauseHook": "gcr.io",
111111
}),
112112
"dashboard": NewAddon([]*BinAsset{
113113
// We want to create the kubernetes-dashboard ns first so that every subsequent object can be created

0 commit comments

Comments
 (0)