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