fix: support arm64/amd64 in push script
deprecated: NodecenterActions support JSON type contract execution.
This commit is contained in:
parent
725f8f1bb6
commit
09a80738f5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user