image needs to be localhost instead of docker.io

This commit is contained in:
2026-04-01 02:23:04 +08:00
parent 7c3e096fec
commit 9ba8063f19
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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