From 9ba8063f193f95d2a4e2804e11b7d35f0a24a7c3c7ddfe01f5c505eb7b1a1d47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 1 Apr 2026 02:23:04 +0800 Subject: [PATCH] image needs to be localhost instead of docker.io --- alpine/preload-k8s-images.sh | 2 +- clitools/makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alpine/preload-k8s-images.sh b/alpine/preload-k8s-images.sh index c1d3e5f..0185f1b 100755 --- a/alpine/preload-k8s-images.sh +++ b/alpine/preload-k8s-images.sh @@ -26,7 +26,7 @@ FUSE_OVERLAYFS="${FUSE_OVERLAYFS:-/usr/bin/fuse-overlayfs}" # ) EXTRA_IMAGES=( "${EXTRA_IMAGES[@]:-}" - "docker-daemon:monok8s/control-agent:$TAG" + "docker-daemon:localhost/monok8s/control-agent:$TAG" ) # Keep archive cache version/arch scoped so downloads do not get mixed. diff --git a/clitools/makefile b/clitools/makefile index 0c0ea31..9b835ae 100644 --- a/clitools/makefile +++ b/clitools/makefile @@ -19,7 +19,7 @@ build-agent: docker build \ --platform=linux/arm64 \ --build-arg VERSION=$(VERSION) \ - -t monok8s/control-agent:$(VERSION) . + -t localhost/monok8s/control-agent:$(VERSION) . build-local: go build -o $(BIN_DIR)/ctl-$(VERSION) ./cmd/ctl