Fixed update_docker_images.sh: replaced unsupported .Driver with .DriverEndpoint
This commit is contained in:
1 parent
ca7c5d435b
commit
1eeffbbdd5
1 file changed
+2
-1
@@ -69,7 +69,8 @@ fi
|
|||||||
if "$build"; then
|
if "$build"; then
|
||||||
# Select an existing container builder, not merely check whether one exists.
|
# Select an existing container builder, not merely check whether one exists.
|
||||||
# Capture the list separately so a failed Docker command stops the script.
|
# Capture the list separately so a failed Docker command stops the script.
|
||||||
builders=$(docker buildx ls --format '{{.Name}} {{.Driver}}')
|
# DriverEndpoint contains the driver for builders and the endpoint for nodes.
|
||||||
|
builders=$(docker buildx ls --format '{{.Name}} {{.DriverEndpoint}}')
|
||||||
builder=
|
builder=
|
||||||
while read -r name driver; do
|
while read -r name driver; do
|
||||||
if [[ "$driver" == docker-container ]]; then
|
if [[ "$driver" == docker-container ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user