From bfe587b8e8fa1f6817055879388e89e5dec73c3b Mon Sep 17 00:00:00 2001 From: Matt Van Horn Date: Wed, 29 Apr 2026 19:31:47 -0700 Subject: [PATCH] ImagePush: print image reference to stdout on success (#1470) -Resolves #1466. - `container image push ` 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> --- Sources/ContainerCommands/Image/ImagePush.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/ContainerCommands/Image/ImagePush.swift b/Sources/ContainerCommands/Image/ImagePush.swift index 0319eaf9..f0781435 100644 --- a/Sources/ContainerCommands/Image/ImagePush.swift +++ b/Sources/ContainerCommands/Image/ImagePush.swift @@ -75,6 +75,7 @@ extension Application { progress.start() _ = try await image.push(platform: p, scheme: scheme, progressUpdate: progress.handler) progress.finish() + print(image.reference) } } }