remove default branch

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-11-09 13:31:36 +08:00
parent ce53e21989
commit a5011aab39

View File

@ -214,19 +214,18 @@ func run(c *cli.Context) error {
Email: c.String("docker.email"), Email: c.String("docker.email"),
}, },
Build: docker.Build{ Build: docker.Build{
Remote: c.String("remote.url"), Remote: c.String("remote.url"),
Name: c.String("commit.sha"), Name: c.String("commit.sha"),
DefaultBranch: c.String("repo.branch"), Dockerfile: c.String("dockerfile"),
Dockerfile: c.String("dockerfile"), Context: c.String("context"),
Context: c.String("context"), Tags: c.StringSlice("tags"),
Tags: c.StringSlice("tags"), Args: c.StringSlice("args"),
Args: c.StringSlice("args"), ArgsEnv: c.StringSlice("args-from-env"),
ArgsEnv: c.StringSlice("args-from-env"), Squash: c.Bool("squash"),
Squash: c.Bool("squash"), Pull: c.BoolT("pull-image"),
Pull: c.BoolT("pull-image"), Compress: c.Bool("compress"),
Compress: c.Bool("compress"), Repo: c.String("repo"),
Repo: c.String("repo"), LabelSchema: c.StringSlice("label-schema"),
LabelSchema: c.StringSlice("label-schema"),
}, },
Daemon: docker.Daemon{ Daemon: docker.Daemon{
Registry: c.String("docker.registry"), Registry: c.String("docker.registry"),