Revert Makefile changes from v1.36.0-alpha.2
Some checks failed
CodeQL / Analyze (go) (push) Failing after 43s
Scorecard supply-chain security / Scorecard analysis (push) Failing after 6m38s
tag-release / tag (push) Has been skipped

This commit is contained in:
Ciprian Hacman
2025-12-23 16:28:37 +02:00
parent 686837d82d
commit a9dd308982

View File

@@ -325,12 +325,12 @@ build-in-docker: clean docker-builder
-v `pwd`:/gopath/src/k8s.io/node-problem-detector/ npd-builder:latest bash \
-c 'cd /gopath/src/k8s.io/node-problem-detector/ && make build-binaries'
push-container: clean Dockerfile
docker buildx create --platform $(DOCKER_PLATFORMS) --use
push-container: build-container
# Build should be cached from build-container
docker buildx build --push --platform $(DOCKER_PLATFORMS) $(IMAGE_TAGS) --build-arg LOGCOUNTER=$(LOGCOUNTER) .
push-container-windows: clean Dockerfile.windows
docker buildx create --platform windows/amd64 --use
push-container-windows: build-container-windows
# Build should be cached from build-container
docker buildx build --push --platform windows/amd64 $(IMAGE_TAGS_WINDOWS) -f Dockerfile.windows .
push-tar: build-tar