Sfoglia il codice sorgente

Merge pull request #1503 from infosiftr/compact-tag-listing

Remove "Dockerfile path" from tags listing
yosifkit 6 anni fa
parent
commit
4a9d1206a3

+ 2 - 2
.template-helpers/generate-dockerfile-links-partial.tmpl

@@ -30,7 +30,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
 	{{- $dir := .ArchDirectory $arch -}}
 	{{- $dockerfile := .ArchFile $arch -}}
 	{{- $dockerfilePath := eq $dir "." | ternary $dockerfile (join "/" $dir $dockerfile) -}}
-	` {{- $e.Tags | join "`, `" -}} ` (* {{- $dockerfilePath -}} *)
+	` {{- $e.Tags | join "`, `" -}} `
 	{{- $gitCommit := $e.ArchGitCommit $arch -}}
 	{{- if $isGitHub -}} ]( {{- $repoUrlBase -}} /blob/ {{- $gitCommit -}} / {{- $dockerfilePath -}} ) {{- end -}}
 	{{- /* TODO decide what to do (if anything) about non-GitHub repos with respect to URL */ -}}
@@ -63,7 +63,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
 				{{- $dir := .ArchDirectory $arch -}}
 				{{- $dockerfile := .ArchFile $arch -}}
 				{{- $dockerfilePath := eq $dir "." | ternary $dockerfile (join "/" $dir $dockerfile) -}}
-				` {{- $e.Tags | first -}} ` (* {{- $dockerfilePath -}} *)
+				` {{- $e.Tags | first -}} `
 				{{- $gitCommit := $e.ArchGitCommit $arch -}}
 				{{- if $isGitHub -}} ]( {{- $repoUrlBase -}} /blob/ {{- $gitCommit -}} / {{- $dockerfilePath -}} ) {{- end -}}
 				{{- /* TODO decide what to do (if anything) about non-GitHub repos with respect to URL */ -}}