Fix parentRepoToArches

This commit is contained in:
Tilo Spannagel 2020-03-09 14:50:53 +01:00 committed by GitHub
parent 63634d91a3
commit 90245ce082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ getArches() {
eval "declare -g -A parentRepoToArches=( $(
find -maxdepth 3 -name 'Dockerfile' -exec awk '
toupper($1) == "FROM" && $2 !~ /^('"$repo"'|scratch|microsoft\/[^:]+)(:|$)/ {
print "'"$officialImagesUrl"'" $2
split($2,x,":"); print "'"$officialImagesUrl"'" x[1]
}
' '{}' + \
| sort -u \