*: properly compile version into docker images
This commit is contained in:
@@ -13,7 +13,7 @@ func commandVersion() *cobra.Command {
|
||||
Use: "version",
|
||||
Short: "Print the version and exit",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Printf(`dex Version:%s
|
||||
fmt.Printf(`dex Version: %s
|
||||
Go Version: %s
|
||||
Go OS/ARCH: %s %s
|
||||
`, version.Version, runtime.Version(), runtime.GOOS, runtime.GOARCH)
|
||||
|
Reference in New Issue
Block a user