Mercurial > public > ssdt-docker
comparison scripts/updates-pull.sh @ 163:daf91a3bbee5 production v1.2.0
flow: Merged <release> 'v1.2.0' to <master> ('production').
author | smith@nwoca.org |
---|---|
date | Tue, 15 Aug 2017 21:59:23 +0100 |
parents | 018f62da1931 |
children | fea886ba7279 |
comparison
equal
deleted
inserted
replaced
141:06611703da29 | 163:daf91a3bbee5 |
---|---|
16 FILTER=${2:-label=io.ssdt.app$APP} | 16 FILTER=${2:-label=io.ssdt.app$APP} |
17 while read -a line | 17 while read -a line |
18 do | 18 do |
19 repo=${line[0]} | 19 repo=${line[0]} |
20 tag=${line[1]} | 20 tag=${line[1]} |
21 if [[ $repo == docker.ssdt.io* ]] | 21 if [[ $repo == docker.ssdt.io* && $tag != *none* ]] |
22 then | 22 then |
23 echo "docker pull ${repo}:${tag}" | 23 echo "docker pull ${repo}:${tag}" |
24 docker pull ${repo}:${tag} | 24 docker pull ${repo}:${tag} |
25 fi | 25 fi |
26 done < <(docker images --filter "$FILTER") | 26 done < <(docker images --filter "$FILTER") |