Skip to content

Commit a069f6a

Browse files
committed
cleanup: use one image tag in e2e test
1 parent bd4f8a1 commit a069f6a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,7 @@ VERSION ?= latest
3434
# Use a custom version for E2E tests if we are testing in CI
3535
ifdef CI
3636
ifndef PUBLISH
37-
ifdef WINDOWS_SERVER_VERSION
38-
override IMAGE_VERSION := e2e-$(WINDOWS_SERVER_VERSION)-$(GIT_COMMIT)
39-
endif
40-
ifdef EXTERNAL_E2E_TEST
41-
override IMAGE_VERSION := e2e-external-$(GIT_COMMIT)
42-
endif
37+
override IMAGE_VERSION := e2e-$(GIT_COMMIT)
4338
endif
4439
endif
4540
IMAGE_TAG = $(REGISTRY)/$(IMAGENAME):$(IMAGE_VERSION)
@@ -151,13 +146,13 @@ container: smb
151146

152147
.PHONY: container-linux
153148
container-linux:
154-
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/$(ARCH)" \
149+
docker buildx build --no-cache --pull --output=type=$(OUTPUT_TYPE) --platform="linux/$(ARCH)" \
155150
--provenance=false --sbom=false \
156151
-t $(IMAGE_TAG)-linux-$(ARCH) --build-arg ARCH=$(ARCH) -f ./cmd/smbplugin/Dockerfile .
157152

158153
.PHONY: container-linux-armv7
159154
container-linux-armv7:
160-
docker buildx build --pull --output=type=$(OUTPUT_TYPE) --platform="linux/arm/v7" \
155+
docker buildx build --no-cache --pull --output=type=$(OUTPUT_TYPE) --platform="linux/arm/v7" \
161156
--provenance=false --sbom=false \
162157
-t $(IMAGE_TAG)-linux-arm-v7 --build-arg ARCH=arm/v7 -f ./cmd/smbplugin/Dockerfile .
163158

0 commit comments

Comments
 (0)