Fixed build tag error on make

This commit is contained in:
2026-04-16 20:42:17 +08:00
parent 65c643d7a2
commit 16aa141aa1
2 changed files with 33 additions and 4 deletions

View File

@@ -73,6 +73,15 @@ clean:
$(BUILDINFO_FILE) \
$(OUT_DIR)/crds
dockerclean:
@echo "Removing tagged images..."
- docker rmi \
localhost/monok8s/control-agent:$(VERSION) \
2>/dev/null || true
@echo "Removing dangling images..."
- docker image prune -f
all: build build-agent build-local
.PHONY: clean all run .buildinfo build build-local build-agent uboot-tools