|
|
@@ -33,16 +33,13 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
|
|
|
{{- $url = $url | ternary $url (hasPrefix "https://git.launchpad.net/" $repoUrlBase | ternary (print $repoUrlBase "/tree/" $dockerfilePath "?h=" ($e.ArchGitFetch $arch) "&id=" $gitCommit) "") -}}
|
|
|
{{- /* TODO decide what to do (if anything) about other non-GitHub repos with respect to URL */ -}}
|
|
|
|
|
|
- {{- if $i -}}
|
|
|
- {{- "\n" -}}
|
|
|
- {{- end -}}
|
|
|
-
|
|
|
- {{- "\t" -}}
|
|
|
{{- if $url -}} [ {{- end -}}
|
|
|
` {{- $e.Tags | join "`, `" -}} `
|
|
|
{{- if $url -}} ]( {{- $url -}} ) {{- end -}}
|
|
|
+
|
|
|
+ {{- "\n\n" -}}
|
|
|
{{- end -}}
|
|
|
-{{- "\n\n" -}}
|
|
|
|
|
|
{{- if (len $sharedTagGroups) -}}
|
|
|
{{- "## Shared Tags\n\n" -}}
|
|
|
@@ -53,7 +50,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
|
|
|
{{- if (len $entries) -}}
|
|
|
{{- "-\t`" -}}
|
|
|
{{ .SharedTags | join "`, `" }}
|
|
|
- {{- "`:\n" -}}
|
|
|
+ {{- "`:\n\n" -}}
|
|
|
|
|
|
{{- range $i, $e := $entries -}}
|
|
|
{{- $arch := $archSpecific | ternary arch ($e.HasArchitecture arch | ternary arch ($e.Architectures | first)) -}}
|
|
|
@@ -81,6 +78,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
|
|
|
|
|
|
{{- "\n" -}}
|
|
|
{{- end -}}
|
|
|
+ {{- "\n" -}}
|
|
|
{{- end -}}
|
|
|
{{- end -}}
|
|
|
{{- "\n" -}}
|