Merge pull request #487 from infosiftr/s390x

Remove s390x from 7.2+
This commit is contained in:
yosifkit 2017-09-01 15:14:48 -07:00 committed by GitHub
commit 6eddaa7896

View File

@ -103,6 +103,11 @@ for version in "${versions[@]}"; do
variantParent="$(awk 'toupper($1) == "FROM" { print $2 }' "$dir/Dockerfile")"
variantArches="${parentRepoToArches[$variantParent]}"
# 7.2 no longer supports s390x
if [[ "$version" = 7.* ]] && [ "$version" != '7.0' ] && [ "$version" != '7.1' ]; then
variantArches="$(echo " $variantArches " | sed -r -e 's/ s390x//g')"
fi
echo
cat <<-EOE
Tags: $(join ', ' "${variantAliases[@]}")