Added build-info to the images

This commit is contained in:
2026-03-25 00:24:40 +08:00
parent ec8ceb1690
commit e9fab5a129
4 changed files with 57 additions and 35 deletions

View File

@@ -190,6 +190,9 @@ $(RELEASE_IMAGE): $(RELEASE_DEPS) | $(OUT_DIR)
-e KUBE_IMG_CACHE=/var/cache/k8s-images \
-e KUBE_VERSION=$(KUBE_VERSION) \
-e ALPINE_HOSTNAME=$(ALPINE_HOSTNAME) \
-e BUILD_VERSION=$(BUILD_VERSION) \
-e BUILD_DATE=$(BUILD_DATE) \
-e BUILD_GIT=$(BUILD_GIT) \
-e ARCH=$(ARCH) \
$(DOCKER_IMAGE_ROOT)/buildenv-alpine:$(TAG) \
bash -lc '/build-rootfs.sh'); \