From 1db8317a6babf8175af5ce33cf26b4e19e2f6c44 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 4 Aug 2019 09:23:19 +0200 Subject: [PATCH] [Update] Fetch before prefetch --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index db808836..21114489 100755 --- a/update.sh +++ b/update.sh @@ -27,6 +27,7 @@ BRANCH=$(git rev-parse --abbrev-ref HEAD) function prefetch_images() { [[ -z ${BRANCH} ]] && { echo -e "\e[33m\nUnknown branch...\e[0m"; exit 1; } + git fetch origin #${BRANCH} while read image; do RET_C=0 until docker pull ${image}; do