mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #87954 from BenTheElder/fix-cross-build-cross
cross build pause with buildx
This commit is contained in:
commit
86ed97ff56
@ -86,7 +86,7 @@ bin/$(BIN)-$(ARCH): $(SRCS)
|
|||||||
|
|
||||||
container: .container-$(ARCH)
|
container: .container-$(ARCH)
|
||||||
.container-$(ARCH): bin/$(BIN)-$(ARCH)
|
.container-$(ARCH): bin/$(BIN)-$(ARCH)
|
||||||
docker build --pull -t $(IMAGE_WITH_ARCH):$(TAG) --build-arg ARCH=$(ARCH) .
|
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --pull --platform linux/$(ARCH) -t $(IMAGE_WITH_ARCH):$(TAG) --build-arg ARCH=$(ARCH) .
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
push: .push-$(ARCH)
|
push: .push-$(ARCH)
|
||||||
|
Loading…
Reference in New Issue
Block a user