1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

docs: quote strings in docker manifests docs

This commit is contained in:
Carlos A Becker 2023-01-20 12:01:08 -03:00
parent 93b582b4bb
commit 1381e02f59
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -34,13 +34,13 @@ docker_manifests:
# Name template for the manifest. # Name template for the manifest.
# Defaults to empty. # Defaults to empty.
name_template: foo/bar:{{ .Version }} name_template: "foo/bar:{{ .Version }}"
# Image name templates to be added to this manifest. # Image name templates to be added to this manifest.
# Defaults to empty. # Defaults to empty.
image_templates: image_templates:
- foo/bar:{{ .Version }}-amd64 - "foo/bar:{{ .Version }}-amd64"
- foo/bar:{{ .Version }}-arm64v8 - "foo/bar:{{ .Version }}-arm64v8"
# Extra flags to be passed down to the manifest create command. # Extra flags to be passed down to the manifest create command.
# Defaults to empty. # Defaults to empty.
@ -53,10 +53,10 @@ docker_manifests:
- --insecure - --insecure
# Skips the Docker manifest. # Skips the Docker manifest.
# If you set this to 'false' or 'auto' on your source Docker configs, # If you set this to `false` or `auto` on your source Docker configs,
# you'll probably want to do the same here. # you'll probably want to do the same here.
# #
# If set to 'auto', the manifest will not be created in case there is an # If set to `auto`, the manifest will not be created in case there is an
# indicator of a prerelease in the tag, e.g. v1.0.0-rc1. # indicator of a prerelease in the tag, e.g. v1.0.0-rc1.
# #
# Defaults to false. # Defaults to false.
@ -130,10 +130,10 @@ dockers:
build_flag_templates: build_flag_templates:
- "--platform=linux/arm64/v8" - "--platform=linux/arm64/v8"
docker_manifests: docker_manifests:
- name_template: foo/bar:{{ .Version }} - name_template: "foo/bar:{{ .Version }}"
image_templates: image_templates:
- foo/bar:{{ .Version }}-amd64 - "foo/bar:{{ .Version }}-amd64"
- foo/bar:{{ .Version }}-arm64v8 - "foo/bar:{{ .Version }}-arm64v8"
``` ```
!!! warning !!! warning
@ -153,10 +153,10 @@ to `podman` on your configuration:
```yaml ```yaml
# .goreleaser.yaml # .goreleaser.yaml
docker_manifests: docker_manifests:
- name_template: foo/bar:{{ .Version }} - name_template: "foo/bar:{{ .Version }}"
image_templates: image_templates:
- foo/bar:{{ .Version }}-amd64 - "foo/bar:{{ .Version }}-amd64"
- foo/bar:{{ .Version }}-arm64v8 - "foo/bar:{{ .Version }}-arm64v8"
use: podman use: podman
``` ```