Merge pull request #11053 from MikeMcQuaid/github_packages_typo

github_packages: fix typo.
This commit is contained in:
Mike McQuaid 2021-04-07 13:40:45 +01:00 committed by GitHub
commit df21c037be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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!"