Merge pull request #1025 from nextcloud/tilosp-patch-1

Fix parentRepoToArches
This commit is contained in:
Tilo Spannagel 2020-03-09 14:51:35 +01:00 committed by GitHub
commit fda5053c31
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 \