1
0
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:
Carlos Alexandro Becker 2023-10-25 23:18:23 +00:00
parent de1c52b466
commit bc9f77b0e5
2 changed files with 7 additions and 2 deletions

View File

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

@ -819,7 +819,12 @@
"type": "array"
},
"use": {
"type": "string"
"type": "string",
"enum": [
"docker",
"buildx"
],
"default": "docker"
}
},
"additionalProperties": false,