diff --git a/.ci/image-all.sh b/.ci/image-all.sh index 369bbd7..ff19f22 100755 --- a/.ci/image-all.sh +++ b/.ci/image-all.sh @@ -47,4 +47,6 @@ echo buildah images --all --noheading --format 'table {{.ID}} {{.Name}}:{{.Tag}} {{.Size}} {{.CreatedAtRaw}}' --filter "reference=${IMAGE_NAME}" echo -buildah manifest push --all "${IMAGE}" "docker://${IMAGE}" +buildah manifest push \ + --retry 7 --retry-delay 60s \ + --all "${IMAGE}" "docker://${IMAGE}" diff --git a/.ci/image.sh b/.ci/image.sh index f37f2a2..314b870 100755 --- a/.ci/image.sh +++ b/.ci/image.sh @@ -11,8 +11,8 @@ set -ef export BASE_IMAGE="${BASE_IMAGE:?}-${GOARCH:?}" buildah pull \ + --retry 7 --retry-delay 60s \ --platform "${TARGET_PLATFORM}" \ - --retry 3 --retry-delay 30s \ "${BASE_IMAGE}" ## build image diff --git a/.ci/sync-all.sh b/.ci/sync-all.sh index 9db65d5..f019a78 100755 --- a/.ci/sync-all.sh +++ b/.ci/sync-all.sh @@ -22,12 +22,7 @@ rm -rf "${oci_dir}" ; mkdir "${oci_dir}" r=0 img_copy() { - for i in $(seq 1 3) ; do - if skopeo copy --all "$@" ; then - return 0 - fi - done - return 1 + skopeo copy --retry 7 --retry-delay 60s --all "$@" } while : ; do diff --git a/.ci/sync-latest.sh b/.ci/sync-latest.sh index 91f991b..42dea62 100755 --- a/.ci/sync-latest.sh +++ b/.ci/sync-latest.sh @@ -19,12 +19,7 @@ rm -rf "${oci_dir}" ; mkdir "${oci_dir}" r=0 img_copy() { - for i in $(seq 1 3) ; do - if skopeo copy --all "$@" ; then - return 0 - fi - done - return 1 + skopeo copy --retry 7 --retry-delay 60s --all "$@" } while : ; do