diff --git a/www/docs/customization/docker.md b/www/docs/customization/docker.md index 038c8fcf4..4b2f598a5 100644 --- a/www/docs/customization/docker.md +++ b/www/docs/customization/docker.md @@ -79,6 +79,18 @@ dockers: - "myuser/myimage:v{{ .Major }}" - "gcr.io/myuser/myimage:latest" + + # Skips the docker build. + # Could be useful if you want to skip building the windows docker image on + # linux, for example. + # + # This field allows templates. + # Since: v1.14.0-pro. + # This option is only available on GoReleaser Pro. + # + # Defaults to false. + skip_push: false + # Skips the docker push. # Could be useful if you also do draft releases. # @@ -94,8 +106,11 @@ dockers: dockerfile: '{{ .Env.DOCKERFILE }}' # Set the "backend" for the Docker pipe. + # # Valid options are: docker, buildx, podman. - # podman is a GoReleaser Pro feature and is only available on Linux. + # + # Podman is a GoReleaser Pro feature and is only available on Linux. + # # Defaults to docker. use: docker diff --git a/www/docs/static/schema-pro.json b/www/docs/static/schema-pro.json index f3f87d5e6..b32735e1e 100644 --- a/www/docs/static/schema-pro.json +++ b/www/docs/static/schema-pro.json @@ -674,7 +674,16 @@ "type": "string" }, "type": { - "type": "string" + "type": "string", + "enum": [ + "symlink", + "ghost", + "config", + "config|noreplace", + "dir", + "" + ], + "default": "" }, "packager": { "type": "string" @@ -684,7 +693,10 @@ } }, "additionalProperties": false, - "type": "object" + "type": "object", + "required": [ + "dst" + ] }, "ContentFileInfo": { "properties": { @@ -771,6 +783,16 @@ }, "type": "array" }, + "skip_build": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "boolean" + } + ] + }, "skip_push": { "oneOf": [ { @@ -1014,6 +1036,15 @@ "additionalProperties": false, "type": "object" }, + "Git": { + "properties": { + "tag_sort": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "GitHubURLs": { "properties": { "api": { @@ -2105,6 +2136,9 @@ }, "type": "array" }, + "git": { + "$ref": "#/$defs/Git" + }, "universal_binaries": { "items": { "$ref": "#/$defs/UniversalBinary" @@ -2468,7 +2502,18 @@ "type": "string" }, "artifacts": { - "type": "string" + "type": "string", + "enum": [ + "all", + "manifests", + "images", + "checksum", + "source", + "package", + "archive", + "binary", + "sbom" + ] }, "ids": { "items": {