0
0
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:
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
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

View File

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

View File

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