File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,15 @@ for version; do
176
176
variantAliases=( " ${versionAliases[@]/%/ ${variant: +-$variant } } " )
177
177
variantAliases=( " ${variantAliases[@]// latest-/ } " )
178
178
179
+ if [ " $variant " = ' ' ] || [ " $variant " = ' dind' ]; then
180
+ parent=" $( awk ' toupper($1) == "FROM" { print $2 }' " $version /Dockerfile" ) "
181
+ alpine=" ${parent#*: } " # "3.14"
182
+ suiteAliases=( " ${variantAliases[0]} " ) # only "X.Y.Z-foo"
183
+ suiteAliases=( " ${suiteAliases[@]/%/ -alpine$alpine } " )
184
+ suiteAliases=( " ${suiteAliases[@]// latest-/ } " )
185
+ variantAliases+=( " ${suiteAliases[@]} " )
186
+ fi
187
+
179
188
sharedTags=()
180
189
if [[ " $variant " == windowsservercore* ]]; then
181
190
sharedTags=( " ${versionAliases[@]/%/ -windowsservercore} " )
You can’t perform that action at this time.
0 commit comments