github_packages: ensure only OCI format is uploaded

This commit is contained in:
Bo Anderson 2023-07-22 19:45:18 +01:00
parent aa74840dc4
commit d5a780d5b3
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -429,7 +429,7 @@ class GitHubPackages
"org.opencontainers.image.ref.name" => version_rebuild)
puts
args = ["copy", "--retry-times=3", "--all", "oci:#{root}", image_uri.to_s]
args = ["copy", "--retry-times=3", "--format=oci", "--all", "oci:#{root}", image_uri.to_s]
if dry_run
puts "#{skopeo} #{args.join(" ")} --dest-creds=#{user}:$HOMEBREW_GITHUB_PACKAGES_TOKEN"
else