We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27a6ad6 commit df72a9aCopy full SHA for df72a9a
cmd/crane/cmd/push.go
@@ -73,8 +73,9 @@ func NewCmdPush(options *[]crane.Option) *cobra.Command {
73
if imageRefs != "" {
74
return os.WriteFile(imageRefs, []byte(digest.String()), 0600)
75
}
76
- // TODO(mattmoor): think about printing the digest to standard out
77
- // to facilitate command composition similar to ko build.
+
+ // Print the digest of the pushed image to stdout to facilitate command composition.
78
+ fmt.Println(digest)
79
80
return nil
81
},
0 commit comments