0
0
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:
Robert Kaussow 2022-11-01 14:04:49 +01:00 committed by GitHub
parent 248b7a5b77
commit b302ea6f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 19 deletions

View File

@ -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

View File

@ -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"},

View File

@ -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.