File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
15
15
{{- $arch := $archSpecific | ternary arch ($e.HasArchitecture arch | ternary arch ($e.Architectures | first)) -}}
16
16
17
17
{{- /* force bashbrew to "fetch" the GitCommit so that it is fully resolved */ -}}
18
- {{- $from := $.ArchDockerFrom $arch $e -}}
18
+ {{- $froms := $.ArchDockerFroms $arch $e -}}
19
19
20
20
{{- $gitRepo := $e.ArchGitRepo $arch -}}
21
21
{{- $repoUrlBase := $gitRepo | replace "git://" "https://" | trimSuffixes ".git" -}}
@@ -52,7 +52,7 @@ This template defines the "Supported tags and Dockerfile links" portion of an im
52
52
{{- $arch := $archSpecific | ternary arch ($e.HasArchitecture arch | ternary arch ($e.Architectures | first)) -}}
53
53
54
54
{{- /* force bashbrew to "fetch" the GitCommit so that it is fully resolved */ -}}
55
- {{- $from := $.ArchDockerFrom $arch $e -}}
55
+ {{- $froms := $.ArchDockerFroms $arch $e -}}
56
56
57
57
{{- $gitRepo := $e.ArchGitRepo $arch -}}
58
58
{{- $repoUrlBase := $gitRepo | replace "git://" "https://" | trimSuffixes ".git" -}}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ for tag in "$tags"; do
29
29
{{- $e := $.TagEntry -}}
30
30
' " $templateArchVar " '
31
31
{{- if $e.HasArchitecture $arch -}}
32
- {{- $from := $.ArchDockerFrom $arch $e -}}
32
+ {{- $froms := $.ArchDockerFroms $arch $e -}}
33
33
{{- end -}}
34
34
' " $repo :$tag " & > /dev/null; then
35
35
toFetch+=( " $repo :$tag " )
Original file line number Diff line number Diff line change @@ -96,14 +96,14 @@ for tag in "${tags[@]}"; do
96
96
done
97
97
done
98
98
99
- if [ " $text " ]; then
99
+ if [ -n " $text " ]; then
100
100
default=" $( [ -f " $repoDir /variant.md" ] && cat " $repoDir /variant.md" || cat " $dir /variant.md" ) "
101
101
default+=$' \n ' # parameter expansion eats the trailing newline
102
102
103
103
# buildpack-deps text
104
104
potentialTags=" $( bashbrew list --uniq " $bbRepo " | cut -d: -f2) "
105
105
for tag in $potentialTags ; do
106
- baseImage=" $( bashbrew cat -f ' {{ .ArchDockerFrom (.TagEntry.Architectures | first) .TagEntry }}' " $bbRepo :$tag " ) "
106
+ baseImage=" $( bashbrew cat -f ' {{ .ArchLastStageFrom (.TagEntry.Architectures | first) .TagEntry }}' " $bbRepo :$tag " 2> /dev/null ) "
107
107
case " $baseImage " in
108
108
buildpack-deps:* -* ) ;; # "scm", "curl" -- not large images
109
109
buildpack-deps:* )
You can’t perform that action at this time.
0 commit comments