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