From 5e8c0264cab1bde30593964f489ce606d3c65f6e Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 19 Jul 2018 07:35:43 -0700 Subject: [PATCH] Skip failing images --- update.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 06335c59d..9be0b20e7 100755 --- a/update.sh +++ b/update.sh @@ -123,7 +123,14 @@ for image in "${images[@]}"; do } > "$targetFile" echo ' TAGS => generate-dockerfile-links-partial.sh "'"$repo"'"' - partial="$("$helperDir/generate-dockerfile-links-partial.sh" "$repo")" + if ! partial="$("$helperDir/generate-dockerfile-links-partial.sh" "$repo")"; then + { + echo + echo "WARNING: failed to fetch tags for '$repo'; skipping!" + echo + } >&2 + continue + fi if [ -z "$partial" ]; then if [ -n "$ARCH_SPECIFIC_DOCS" ]; then partial='**No supported tags found!**'$'\n\n''It is very likely that `%%REPO%%` does not support the currently selected architecture (`'"$BASHBREW_ARCH"'`).'