ci/cd:inculde binary type in version information

This commit is contained in:
Shivam Mishra
2021-02-12 16:52:02 -08:00
committed by Ramkumar Chinchani
parent a7c17b7c16
commit cf25c6f3c8
3 changed files with 17 additions and 11 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ func NewRootCmd() *cobra.Command {
Long: "`zot`",
Run: func(cmd *cobra.Command, args []string) {
if showVersion {
log.Info().Str("distribution-spec", dspec.Version).Str("commit", api.Commit).Msg("version")
log.Info().Str("distribution-spec", dspec.Version).Str("commit", api.Commit).
Str("binary-type", api.BinaryType).Msg("version")
}
_ = cmd.Usage()
},