From c4cf2d208e14eb575004d842156e3f38ec0ea3c6 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 9 Mar 2023 09:42:43 +0100 Subject: [PATCH] github_packages: reduce skopeo retry times to 2 --- Library/Homebrew/github_packages.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/github_packages.rb b/Library/Homebrew/github_packages.rb index c08fae7d5d..dd0eefed30 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", "--retry-times=5", "--all", "oci:#{root}", image_uri.to_s] + args = ["copy", "--retry-times=2", "--all", "oci:#{root}", image_uri.to_s] if dry_run puts "#{skopeo} #{args.join(" ")} --dest-creds=#{user}:$HOMEBREW_GITHUB_PACKAGES_TOKEN" else