remote: use --bootstrap to wait for remote to become active

Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
Justin Chadwell
2022-05-09 12:41:57 +01:00
parent 43968ffa68
commit c245f30a94
3 changed files with 30 additions and 21 deletions

View File

@ -55,6 +55,7 @@ if [ "$DRIVER" != "docker" ]; then
createFlags="$createFlags --append"
fi
buildxCmd create ${createFlags} \
--bootstrap \
--name="${builderName}" \
--node="${builderName}-${platform/\//-}" \
--platform="${platform}" \
@ -69,6 +70,7 @@ if [ "$DRIVER" != "docker" ]; then
createFlags="$createFlags --config=${BUILDKIT_CFG}"
fi
buildxCmd create ${createFlags} \
--bootstrap \
--name="${builderName}" \
--platform="${PLATFORMS}" \
--driver="${DRIVER}" \