chore: remove unused purge parameter

This commit is contained in:
Robert Kaussow 2022-11-01 13:45:37 +01:00
parent 248b7a5b77
commit 2eb1fac476
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
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.