forked from TrueCloudLab/distribution
Basic skeleton for dist
binary
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
parent
5f863238c0
commit
168b51d402
4 changed files with 77 additions and 0 deletions
21
cmd/dist/push.go
vendored
Normal file
21
cmd/dist/push.go
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
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) {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue