Skip to content

Commit

Permalink
Remove broken imagelayers badges (docker-library#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon authored and yosifkit committed Aug 9, 2016
1 parent 2bb9ed9 commit 9552e25
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .template-helpers/generate-dockerfile-links-partial.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,3 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
{{- end -}}

{{- "\n\n" -}}

[![](
{{- "https://badge.imagelayers.io/" -}}

{{- /* either "repo:latest" or "repo:first-tag" */ -}}
{{- printf "%s:%s" .RepoName (.Manifest.GetTag "latest" | ternary "latest" ((.Entries | first).Tags | first)) -}}

{{- ".svg" -}}
)](
{{- "https://imagelayers.io/?images=" -}}

{{- /* list all "repo:tag" combinations, comma separated */ -}}
{{- range $i, $e := $.Entries -}}
{{- if $i -}} , {{- end -}}
{{- printf "%s:%s" $.RepoName ($e.Tags | first) -}}
{{- end -}}
)

{{- "\n\n" -}}

0 comments on commit 9552e25

Please sign in to comment.