docker: replace pull with tag to not hit rate limits

This commit is contained in:
Girish Ramakrishnan
2024-12-14 16:16:33 +01:00
parent 6b7edbd552
commit d9e4aeb518
+1 -4
View File
@@ -165,10 +165,7 @@ for image in ${images}; do
log "Could not pull ${image}"
sleep 5
done
while ! docker pull "${image%@sha256:*}"; do # this will tag the image for readability
log "Could not pull ${image%@sha256:*}"
sleep 5
done
docker tag "${image}" "${image%@sha256:*}" # this will tag the image for readability
done
if [[ "${is_update}" == "yes" ]]; then