168b51d402
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
21 lines
361 B
Go
21 lines
361 B
Go
package main
|
|
|
|
import "github.com/codegangsta/cli"
|
|
|
|
var (
|
|
commandPush = cli.Command{
|
|
Name: "push",
|
|
Usage: "Push an image to a registry",
|
|
Action: imagePush,
|
|
Flags: []cli.Flag{
|
|
cli.StringFlag{
|
|
Name: "r,registry",
|
|
Value: "hub.docker.io",
|
|
Usage: "Registry to use (e.g.: localhost:5000)",
|
|
},
|
|
},
|
|
}
|
|
)
|
|
|
|
func imagePush(*cli.Context) {
|
|
}
|