mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-22 00:00:40 +00:00
chore: remove unused purge parameter (#147)
This commit is contained in:
parent
248b7a5b77
commit
b302ea6f8c
@ -208,12 +208,6 @@ properties:
|
|||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
purge:
|
|
||||||
description: Enable cleanup of the docker environment at the end of a build.
|
|
||||||
defaultValue: true
|
|
||||||
type: bool
|
|
||||||
required: false
|
|
||||||
|
|
||||||
no_cache:
|
no_cache:
|
||||||
description: Disable the usage of cached intermediate containers.
|
description: Disable the usage of cached intermediate containers.
|
||||||
defaultValue: false
|
defaultValue: false
|
||||||
|
@ -276,14 +276,6 @@ func settingsFlags(settings *plugin.Settings, category string) []cli.Flag {
|
|||||||
Destination: &settings.Login.Config,
|
Destination: &settings.Login.Config,
|
||||||
Category: category,
|
Category: category,
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
|
||||||
Name: "docker.purge",
|
|
||||||
EnvVars: []string{"PLUGIN_PURGE"},
|
|
||||||
Usage: "enable cleanup of the docker environment at the end of a build",
|
|
||||||
Value: true,
|
|
||||||
Destination: &settings.Cleanup,
|
|
||||||
Category: category,
|
|
||||||
},
|
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "no-cache",
|
Name: "no-cache",
|
||||||
EnvVars: []string{"PLUGIN_NO_CACHE"},
|
EnvVars: []string{"PLUGIN_NO_CACHE"},
|
||||||
|
@ -67,11 +67,10 @@ type Build struct {
|
|||||||
|
|
||||||
// Settings for the Plugin.
|
// Settings for the Plugin.
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
Daemon Daemon
|
Daemon Daemon
|
||||||
Login Login
|
Login Login
|
||||||
Build Build
|
Build Build
|
||||||
Dryrun bool
|
Dryrun bool
|
||||||
Cleanup bool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate handles the settings validation of the plugin.
|
// Validate handles the settings validation of the plugin.
|
||||||
|
Loading…
Reference in New Issue
Block a user