Merge pull request #11118 from Bo98/ghp-manifest-unknown
github_packages: handle "manifest unknown"
This commit is contained in:
commit
f1c08c3801
@ -235,7 +235,7 @@ class GitHubPackages
|
||||
inspect_result = system_command(skopeo, print_stderr: false, args: inspect_args)
|
||||
|
||||
# Order here is important
|
||||
if !inspect_result.status.success? && inspect_result.stderr.exclude?("name unknown")
|
||||
if !inspect_result.status.success? && !inspect_result.stderr.match?(/(name|manifest) unknown/)
|
||||
# We got an error, and it was not about the tag or package being unknown.
|
||||
if warn_on_error
|
||||
opoo "#{image_uri} inspection returned an error, skipping upload!\n#{inspect_result.stderr}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user