diff scripts/updates-pull.sh @ 157:018f62da1931

DEP-12: add docker version. prevent pulling updates for dangling images
author smith@nwoca.org
date Mon, 31 Jul 2017 20:49:53 +0100
parents 334d65dac778
children fea886ba7279
line wrap: on
line diff
--- a/scripts/updates-pull.sh	Mon Jul 31 20:48:38 2017 +0100
+++ b/scripts/updates-pull.sh	Mon Jul 31 20:49:53 2017 +0100
@@ -18,7 +18,7 @@
 do
    repo=${line[0]}
    tag=${line[1]}
-   if [[ $repo == docker.ssdt.io* ]]
+   if [[ $repo == docker.ssdt.io* && $tag != *none* ]]
    then
       echo "docker pull ${repo}:${tag}"
       docker pull ${repo}:${tag}