Update auto-pause-hook image

pull/11288/head
Yanshu 2021-05-04 23:18:33 +00:00
parent ce01c06fef
commit 8feef42a88
2 changed files with 6 additions and 6 deletions

View File

@ -98,7 +98,7 @@ SHA512SUM=$(shell command -v sha512sum || echo "shasum -a 512")
GVISOR_TAG ?= latest
# auto-pause-hook tag to push changes to
AUTOPAUSE_HOOK_TAG ?= 1.13
AUTOPAUSE_HOOK_TAG ?= v0.0.2
# prow-test tag to push changes to
PROW_TEST_TAG ?= v0.0.1
@ -874,12 +874,12 @@ deploy/addons/auto-pause/auto-pause-hook: $(SOURCE_GENERATED) ## Build auto-paus
.PHONY: auto-pause-hook-image
auto-pause-hook-image: deploy/addons/auto-pause/auto-pause-hook ## Build docker image for auto-pause hook
docker build -t docker.io/azhao155/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG) ./deploy/addons/auto-pause
docker build -t $(REGISTRY)/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG) ./deploy/addons/auto-pause
.PHONY: push-auto-pause-hook-image
push-auto-pause-hook-image: auto-pause-hook-image
docker login docker.io/azhao155
$(MAKE) push-docker IMAGE=docker.io/azhao155/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG)
docker login gcr.io/k8s-minikube
$(MAKE) push-docker IMAGE=$(REGISTRY)/auto-pause-hook:$(AUTOPAUSE_HOOK_TAG)
.PHONY: prow-test-image
prow-test-image:

View File

@ -105,9 +105,9 @@ var Addons = map[string]*Addon{
// GuestPersistentDir
}, false, "auto-pause", map[string]string{
"AutoPauseHook": "azhao155/auto-pause-hook:1.13",
"AutoPauseHook": "k8s-minikube/auto-pause-hook:v0.0.2",
}, map[string]string{
"AutoPauseHook": "docker.io",
"AutoPauseHook": "gcr.io",
}),
"dashboard": NewAddon([]*BinAsset{
// We want to create the kubernetes-dashboard ns first so that every subsequent object can be created