Parcourir la source

Add a link to our FAQ entry about Shared Tags when we have them

> # Supported tags and respective `Dockerfile` links
>
> (See ["What's the difference between 'Shared' and 'Simple' tags?" in the FAQ](https://github.com/docker-library/faq#whats-the-difference-between-shared-and-simple-tags).)
>
> ## Simple Tags
>
> ...
>
> ## Shared Tags
>
> ...
Tianon Gravi il y a 6 ans
Parent
commit
0aabf70194
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      .template-helpers/generate-dockerfile-links-partial.tmpl

+ 4 - 1
.template-helpers/generate-dockerfile-links-partial.tmpl

@@ -8,7 +8,10 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
 
 {{- $sharedTagGroups := .Manifest.GetSharedTagGroups -}}
 {{- if (len $sharedTagGroups) -}}
-	{{- "## Simple Tags\n\n" -}}
+	(See ["What's the difference between 'Shared' and 'Simple' tags?" in the FAQ](https://github.com/docker-library/faq#whats-the-difference-between-shared-and-simple-tags).)
+	{{- "\n\n" -}}
+	## Simple Tags
+	{{- "\n\n" -}}
 {{- end -}}
 
 {{- range $i, $e := ($archSpecific | ternary (archFilter arch $.Entries) $.Entries) -}}