1
0

Update to latest xe-solutions that fixes promote-image

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
James Ketrenos 2020-10-30 09:03:49 -07:00
parent 519a38ff59
commit c1a0eb12e3

View File

@ -81,7 +81,7 @@ while (( iter )); do
echo "Error deleting tag:" >&2
echo "${RESULTS}" >&2
iter=$((iter-1))
if (( ! iter ))
if (( ! iter )); then
fail "No more tries."
fi
echo "Waiting 10s before trying again..."
@ -97,7 +97,7 @@ while (( iter )); do
fi
echo "Unable to push ${CONTAINER}:${TARGET_TAG}" >&2
iter=$((iter-1))
if (( ! iter ))
if (( ! iter )); then
fail "No more tries."
fi
echo "Waiting 10s before trying again..."
@ -112,7 +112,7 @@ while (( iter )); do
fi
fail "Unable to push ${CONTAINER}:latest-${TARGET_TAG}"
iter=$((iter-1))
if (( ! iter ))
if (( ! iter )); then
fail "No more tries."
fi
echo "Waiting 10s before trying again..."