github_packages: fix typo.

This commit is contained in:
Mike McQuaid 2021-04-07 13:20:24 +01:00
parent b0ba92466f
commit ee491928e4
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -192,7 +192,7 @@ class GitHubPackages
puts "#{skopeo} #{inspect_args.join(" ")} --dest-creds=#{user}:$HOMEBREW_GITHUB_PACKAGES_TOKEN"
else
inspect_args << "--dest-creds=#{user}:#{token}"
inspect_result = system_command(skopeo, args: args)
inspect_result = system_command(skopeo, args: inspect_args)
if inspect_result.status.success?
if warn_on_error
opoo "#{image_tag} already exists, skipping upload!"