From 9552e256f9ee8684687b06e8838175e20118b601 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 9 Aug 2016 11:12:23 -0700 Subject: [PATCH] Remove broken imagelayers badges (#653) --- .../generate-dockerfile-links-partial.tmpl | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.template-helpers/generate-dockerfile-links-partial.tmpl b/.template-helpers/generate-dockerfile-links-partial.tmpl index f5ae85dbf014..b48b65f64fad 100644 --- a/.template-helpers/generate-dockerfile-links-partial.tmpl +++ b/.template-helpers/generate-dockerfile-links-partial.tmpl @@ -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" -}}