1
0

ci: try to resolve network issues
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/manual/latest Pipeline failed

This commit is contained in:
2025-07-17 13:34:53 +03:00
parent 0fe71a0fe7
commit 4d7da179dd
4 changed files with 6 additions and 14 deletions

View File

@@ -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}"

View File

@@ -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

View File

@@ -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

View File

@@ -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