mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +02:00
fix: schema enum options for dockers.use
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
de1c52b466
commit
bc9f77b0e5
@ -1034,7 +1034,7 @@ type Docker struct {
|
|||||||
Files []string `yaml:"extra_files,omitempty" json:"extra_files,omitempty"`
|
Files []string `yaml:"extra_files,omitempty" json:"extra_files,omitempty"`
|
||||||
BuildFlagTemplates []string `yaml:"build_flag_templates,omitempty" json:"build_flag_templates,omitempty"`
|
BuildFlagTemplates []string `yaml:"build_flag_templates,omitempty" json:"build_flag_templates,omitempty"`
|
||||||
PushFlags []string `yaml:"push_flags,omitempty" json:"push_flags,omitempty"`
|
PushFlags []string `yaml:"push_flags,omitempty" json:"push_flags,omitempty"`
|
||||||
Use string `yaml:"use,omitempty" json:"use,omitempty"`
|
Use string `yaml:"use,omitempty" json:"use,omitempty" jsonschema:"enum=docker,enum=buildx,default=docker"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// DockerManifest config.
|
// DockerManifest config.
|
||||||
|
7
www/docs/static/schema.json
generated
vendored
7
www/docs/static/schema.json
generated
vendored
@ -819,7 +819,12 @@
|
|||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"use": {
|
"use": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"docker",
|
||||||
|
"buildx"
|
||||||
|
],
|
||||||
|
"default": "docker"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user