Skip to content

Commit

Permalink
Add a link to our FAQ entry about Shared Tags when we have them
Browse files Browse the repository at this point in the history
> # 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
>
> ...
  • Loading branch information
tianon committed Sep 13, 2019
1 parent b641907 commit 0aabf70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .template-helpers/generate-dockerfile-links-partial.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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) -}}
Expand Down

0 comments on commit 0aabf70

Please sign in to comment.