mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
cross build pause with buildx
This commit is contained in:
parent
7c1dfd1b83
commit
d1ec762a91
@ -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