fix release script: 'docker buildx create' step needs to be re-runnable without error (#264)
This commit is contained in:
parent
9ac7e3a34d
commit
4b65b3ee55
|
|
@ -47,7 +47,7 @@ echo "$VERSION" > VERSION
|
||||||
$PREFIX docker run --privileged --rm tonistiigi/binfmt:qemu-v6.1.0 --install all
|
$PREFIX docker run --privileged --rm tonistiigi/binfmt:qemu-v6.1.0 --install all
|
||||||
# Create a new builder instance
|
# Create a new builder instance
|
||||||
export DOCKER_CLI_EXPERIMENTAL=enabled
|
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
|
# 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 .
|
$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
|
rm VERSION
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue