File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -323,12 +323,12 @@ build-in-docker: clean docker-builder
323323 -v ` pwd` :/gopath/src/k8s.io/node-problem-detector/ npd-builder:latest bash \
324324 -c ' cd /gopath/src/k8s.io/node-problem-detector/ && make build-binaries'
325325
326- push-container : build-container
327- # Build should be cached from build-container
326+ push-container : clean Dockerfile
327+ docker buildx create --platform $( DOCKER_PLATFORMS ) --use
328328 docker buildx build --push --platform $(DOCKER_PLATFORMS ) $(IMAGE_TAGS ) --build-arg LOGCOUNTER=$(LOGCOUNTER ) .
329329
330- push-container-windows : build-container- windows
331- # Build should be cached from build-container
330+ push-container-windows : clean Dockerfile. windows
331+ docker buildx create --platform windows/amd64 --use
332332 docker buildx build --push --platform windows/amd64 $(IMAGE_TAGS_WINDOWS ) -f Dockerfile.windows .
333333
334334push-tar : build-tar
Original file line number Diff line number Diff line change 1- v1.36.0-alpha.1
1+ v1.36.0-alpha.2
You can’t perform that action at this time.
0 commit comments