need --node arg to be idempotent; otherwise, get error about instance already exists

This commit is contained in:
Josh Humphries 2021-10-07 16:06:55 -04:00
parent 9ac7e3a34d
commit 9280448576
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ echo "$VERSION" > VERSION
$PREFIX docker run --privileged --rm tonistiigi/binfmt:qemu-v6.1.0 --install all
# Create a new builder instance
export DOCKER_CLI_EXPERIMENTAL=enabled
$PREFIX docker buildx create --use --name multiarch-builder
$PREFIX docker buildx create --use --name multiarch-builder --node multiarch-builder0
# push to docker hub, both the given version as a tag and for "latest" tag
$PREFIX docker buildx build --platform linux/amd64,linux/s390x,linux/arm64 --tag fullstorydev/grpcurl:${VERSION} --tag fullstorydev/grpcurl:latest --push --progress plain --no-cache .
rm VERSION