1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

modify IMAGE_TAG to fix the version parsing issue

This commit is contained in:
Hao Fan
2024-09-04 01:20:35 +08:00
parent 0f1890e5cd
commit fdd69106a3

View File

@@ -23,7 +23,7 @@ SKIP_INSTALL=${SKIP_INSTALL:-}
KIND_E2E=${KIND_E2E:-} KIND_E2E=${KIND_E2E:-}
# Build a descheduler image # Build a descheduler image
IMAGE_TAG=$(git describe --tags --match v0*) IMAGE_TAG=v$(date +%Y%m%d)-$(git describe --tags)
BASEDIR=$(dirname "$0") BASEDIR=$(dirname "$0")
VERSION="${IMAGE_TAG}" make -C ${BASEDIR}/.. image VERSION="${IMAGE_TAG}" make -C ${BASEDIR}/.. image