From 3c9e492b25f6c136fdca195334817933d4c83402 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sat, 10 Aug 2024 01:22:36 +0000 Subject: [PATCH] test: fix windows e2e test failure in image build --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c8ab4bfefc5..eac269631c0 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,13 @@ VERSION ?= latest # Use a custom version for E2E tests if we are testing in CI ifdef CI ifndef PUBLISH +ifdef TEST_WINDOWS +override IMAGE_VERSION := e2e-win-$(GIT_COMMIT) +else override IMAGE_VERSION := e2e-$(GIT_COMMIT) endif endif +endif IMAGE_TAG = $(REGISTRY)/$(IMAGENAME):$(IMAGE_VERSION) IMAGE_TAG_LATEST = $(REGISTRY)/$(IMAGENAME):latest ifndef BUILD_DATE