mirror of
https://github.com/thegeeklab/drone-docker.git
synced 2024-11-23 13:20:40 +00:00
chore: remove unused flag remote.url
This commit is contained in:
parent
29243448f0
commit
f2b247463c
@ -5,11 +5,6 @@ properties:
|
|||||||
type: bool
|
type: bool
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
drone_remote_url:
|
|
||||||
description: The git remote url.
|
|
||||||
type: string
|
|
||||||
required: false
|
|
||||||
|
|
||||||
mirror:
|
mirror:
|
||||||
description: Use a registry mirror to pull images.
|
description: Use a registry mirror to pull images.
|
||||||
type: string
|
type: string
|
||||||
@ -146,7 +141,7 @@ properties:
|
|||||||
required: false
|
required: false
|
||||||
|
|
||||||
compress:
|
compress:
|
||||||
description: Enable compression og the build context using gzip.
|
description: Enable compression of the build context using gzip.
|
||||||
defaultValue: false
|
defaultValue: false
|
||||||
type: bool
|
type: bool
|
||||||
required: false
|
required: false
|
||||||
|
@ -15,13 +15,6 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
|
|||||||
Destination: &settings.Dryrun,
|
Destination: &settings.Dryrun,
|
||||||
Category: category,
|
Category: category,
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
|
||||||
Name: "remote.url",
|
|
||||||
EnvVars: []string{"DRONE_REMOTE_URL"},
|
|
||||||
Usage: "git remote url",
|
|
||||||
Destination: &settings.Build.Remote,
|
|
||||||
Category: category,
|
|
||||||
},
|
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "daemon.mirror",
|
Name: "daemon.mirror",
|
||||||
EnvVars: []string{"PLUGIN_MIRROR", "DOCKER_PLUGIN_MIRROR"},
|
EnvVars: []string{"PLUGIN_MIRROR", "DOCKER_PLUGIN_MIRROR"},
|
||||||
@ -198,7 +191,7 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
|
|||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "compress",
|
Name: "compress",
|
||||||
EnvVars: []string{"PLUGIN_COMPRESS"},
|
EnvVars: []string{"PLUGIN_COMPRESS"},
|
||||||
Usage: "enable compression og the build context using gzip",
|
Usage: "enable compression of the build context using gzip",
|
||||||
Value: false,
|
Value: false,
|
||||||
Destination: &settings.Build.Compress,
|
Destination: &settings.Build.Compress,
|
||||||
Category: category,
|
Category: category,
|
||||||
|
@ -40,7 +40,6 @@ type Login struct {
|
|||||||
|
|
||||||
// Build defines Docker build parameters.
|
// Build defines Docker build parameters.
|
||||||
type Build struct {
|
type Build struct {
|
||||||
Remote string // Git remote URL
|
|
||||||
Name string // Git commit sha used as docker default named tag
|
Name string // Git commit sha used as docker default named tag
|
||||||
Ref string // Git commit ref
|
Ref string // Git commit ref
|
||||||
Branch string // Git repository branch
|
Branch string // Git repository branch
|
||||||
|
Loading…
Reference in New Issue
Block a user