Skip to content

Commit e6927ef

Browse files
committed
imagetools: output pushed digest to stdout
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 0a62a9e commit e6927ef

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

commands/imagetools/create.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ func runCreate(ctx context.Context, dockerCli command.Cli, in createOptions, arg
240240
if err == nil {
241241
err = err1
242242
}
243+
if err == nil {
244+
fmt.Println(desc.Digest.String())
245+
}
243246

244247
return err
245248
}

0 commit comments

Comments
 (0)