commit 9ba8063f193f95d2a4e2804e11b7d35f0a24a7c3c7ddfe01f5c505eb7b1a1d47
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2026-03-31T18:23:04Z |
| subject | image needs to be localhost instead of docker.io |
commit 9ba8063f193f95d2a4e2804e11b7d35f0a24a7c3c7ddfe01f5c505eb7b1a1d47
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2026-03-31T18:23:04Z
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