diff --git a/Library/Homebrew/github_packages.rb b/Library/Homebrew/github_packages.rb index f5ea7cea12..f0e8541847 100644 --- a/Library/Homebrew/github_packages.rb +++ b/Library/Homebrew/github_packages.rb @@ -407,7 +407,7 @@ class GitHubPackages "org.opencontainers.image.ref.name" => version_rebuild) puts - args = ["copy", "--all", "oci:#{root}", image_uri.to_s] + args = ["copy", "--retry-times=5", "--all", "oci:#{root}", image_uri.to_s] if dry_run puts "#{skopeo} #{args.join(" ")} --dest-creds=#{user}:$HOMEBREW_GITHUB_PACKAGES_TOKEN" else