ImagePush: print image reference to stdout on success (#1470)

-Resolves #1466.
- `container image push <ref>` previously produced no
  standard output on success. Print the fully qualified
  reference (`image.reference`) after the push completes
  so callers can pipe the output into subsequent
  commands.

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
This commit is contained in:
Matt Van Horn
2026-04-29 19:31:47 -07:00
committed by GitHub
co-authored by Matt Van Horn
parent 4e390d6aa8
commit bfe587b8e8
@@ -75,6 +75,7 @@ extension Application {
progress.start()
_ = try await image.push(platform: p, scheme: scheme, progressUpdate: progress.handler)
progress.finish()
print(image.reference)
}
}
}