1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00

docs: update docker options and schema

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2022-12-02 22:38:39 -03:00
parent 370575107e
commit b06f217e3b
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 64 additions and 4 deletions

View File

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

51
www/docs/static/schema-pro.json generated vendored
View File

@ -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": {