mirror of
https://github.com/apple/container.git
synced 2026-09-21 15:15:36 +00:00
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:
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user