From 09a80738f54b6a9ce946d737fad0cf8a3947a726 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Fri, 3 Dec 2021 14:04:09 +0800 Subject: [PATCH] fix: support arm64/amd64 in push script deprecated: NodecenterActions support JSON type contract execution. --- docker/buildClusterDocker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/buildClusterDocker.sh b/docker/buildClusterDocker.sh index 22e11ac..5a97fe8 100755 --- a/docker/buildClusterDocker.sh +++ b/docker/buildClusterDocker.sh @@ -11,7 +11,7 @@ if [ $# -lt 1 ]; then fi #linux/arm64/v8, if [ "$2" == "push" ]; then - docker buildx build --platform linux/amd64 -t bdware/bdcluster:$1 ./ --push + docker buildx build --platform linux/amd64,linux/arm64/v8 -t bdware/bdcluster:$1.arm64 ./ --push elif [ "$2" == "save" ]; then docker buildx build --platform linux/amd64 -t bdware/bdcluster:$1 ./ --load docker save -o $3/bdcluster-$1.tar bdware/bdcluster:$1