Skip to content

Commit c27dbea

Browse files
ci: retry docker image loa
On CI there's some failure during image load, so try again after 5 seconds... Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
1 parent 450aa61 commit c27dbea

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/k8s/load-images-to-kind.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,8 @@ for image in "${images[@]}"; do
7070
fi
7171
load_cmd+=" openebs/mayastor-"$image:$IMAGE_TAG
7272
done
73-
eval $load_cmd
73+
if ! eval $load_cmd; then
74+
sleep 5
75+
log_error "Failed to load images, trying again..."
76+
eval $load_cmd
77+
fi

0 commit comments

Comments
 (0)