From 1381e02f59411637c0141c4224d8c9c6d7dd9ea5 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Fri, 20 Jan 2023 12:01:08 -0300 Subject: [PATCH] docs: quote strings in docker manifests docs --- www/docs/customization/docker_manifest.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/www/docs/customization/docker_manifest.md b/www/docs/customization/docker_manifest.md index fb59b4fd6..8583097a8 100644 --- a/www/docs/customization/docker_manifest.md +++ b/www/docs/customization/docker_manifest.md @@ -34,13 +34,13 @@ docker_manifests: # Name template for the manifest. # Defaults to empty. - name_template: foo/bar:{{ .Version }} + name_template: "foo/bar:{{ .Version }}" # Image name templates to be added to this manifest. # Defaults to empty. image_templates: - - foo/bar:{{ .Version }}-amd64 - - foo/bar:{{ .Version }}-arm64v8 + - "foo/bar:{{ .Version }}-amd64" + - "foo/bar:{{ .Version }}-arm64v8" # Extra flags to be passed down to the manifest create command. # Defaults to empty. @@ -53,10 +53,10 @@ docker_manifests: - --insecure # 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. # - # 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. # # Defaults to false. @@ -130,10 +130,10 @@ dockers: build_flag_templates: - "--platform=linux/arm64/v8" docker_manifests: -- name_template: foo/bar:{{ .Version }} +- name_template: "foo/bar:{{ .Version }}" image_templates: - - foo/bar:{{ .Version }}-amd64 - - foo/bar:{{ .Version }}-arm64v8 + - "foo/bar:{{ .Version }}-amd64" + - "foo/bar:{{ .Version }}-arm64v8" ``` !!! warning @@ -153,10 +153,10 @@ to `podman` on your configuration: ```yaml # .goreleaser.yaml docker_manifests: -- name_template: foo/bar:{{ .Version }} +- name_template: "foo/bar:{{ .Version }}" image_templates: - - foo/bar:{{ .Version }}-amd64 - - foo/bar:{{ .Version }}-arm64v8 + - "foo/bar:{{ .Version }}-amd64" + - "foo/bar:{{ .Version }}-arm64v8" use: podman ```