Merge pull request #11072 from MikeMcQuaid/github_packages_uploaded_org

github_packages: fix "Uploaded to" organisation.
This commit is contained in:
Mike McQuaid 2021-04-08 12:14:25 +01:00 committed by GitHub
commit 558dddd78c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,7 +380,7 @@ class GitHubPackages
args << "--dest-creds=#{user}:#{token}"
system_command!(skopeo, verbose: true, print_stdout: true, args: args)
package_name = "#{GitHubPackages.repo_without_prefix(repo)}/#{image_name}"
ohai "Uploaded to https://github.com/orgs/Homebrew/packages/container/package/#{package_name}"
ohai "Uploaded to https://github.com/orgs/#{org}/packages/container/package/#{package_name}"
end
end