Skip to content

Commit a9dd308

Browse files
committed
Revert Makefile changes from v1.36.0-alpha.2
1 parent 686837d commit a9dd308

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,12 @@ build-in-docker: clean docker-builder
325325
-v `pwd`:/gopath/src/k8s.io/node-problem-detector/ npd-builder:latest bash \
326326
-c 'cd /gopath/src/k8s.io/node-problem-detector/ && make build-binaries'
327327

328-
push-container: clean Dockerfile
329-
docker buildx create --platform $(DOCKER_PLATFORMS) --use
328+
push-container: build-container
329+
# Build should be cached from build-container
330330
docker buildx build --push --platform $(DOCKER_PLATFORMS) $(IMAGE_TAGS) --build-arg LOGCOUNTER=$(LOGCOUNTER) .
331331

332-
push-container-windows: clean Dockerfile.windows
333-
docker buildx create --platform windows/amd64 --use
332+
push-container-windows: build-container-windows
333+
# Build should be cached from build-container
334334
docker buildx build --push --platform windows/amd64 $(IMAGE_TAGS_WINDOWS) -f Dockerfile.windows .
335335

336336
push-tar: build-tar

0 commit comments

Comments
 (0)