Skip to content

Commit

Permalink
remove retry while copying from assethost
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsagtani97 committed Nov 5, 2024
1 parent 47200d9 commit 17b3732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/scripts/create-container-dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ while IFS= read -r image; do
# If an image has both a tag and digest, remove the tag. Return the original if there is no match.
image_trimmed=$(echo "$image" | sed -E 's/(.+)(:.+(@.+))/\1\3/')
if [[ -n "${DOCKER_LOGIN:-}" && "$image" =~ quay.io/wire ]];then
skopeo copy --retry-times 10 --insecure-policy --src-creds "$DOCKER_LOGIN" \
skopeo copy --insecure-policy --src-creds "$DOCKER_LOGIN" \
docker://$image_trimmed docker-archive:${image_path} --additional-tag $image
else
skopeo copy --retry-times 10 --insecure-policy \
skopeo copy --insecure-policy \
docker://$image_trimmed docker-archive:${image_path} --additional-tag $image
fi
echo "${image_filename}.tar" >> $(realpath "$1")/index.txt
Expand Down

0 comments on commit 17b3732

Please sign in to comment.