mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +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"`
|
||||
BuildFlagTemplates []string `yaml:"build_flag_templates,omitempty" json:"build_flag_templates,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.
|
||||
|
7
www/docs/static/schema.json
generated
vendored
7
www/docs/static/schema.json
generated
vendored
@ -819,7 +819,12 @@
|
||||
"type": "array"
|
||||
},
|
||||
"use": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"docker",
|
||||
"buildx"
|
||||
],
|
||||
"default": "docker"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user