Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@techandme.se>2018-04-12 19:08:35 +0300
committerGitHub <noreply@github.com>2018-04-12 19:08:35 +0300
commit50d9a6f3d9f2127e369f8dcb2dde90c4a651f2e1 (patch)
tree2da7238d018068428d5e96ec14c6b7b621f79f8d /nextcloud_update.sh
parent693e382ba6d5f7cbaabe9f9c3e564c2ed59bb33c (diff)
fix https://github.com/nextcloud/vm/issues/511
Diffstat (limited to 'nextcloud_update.sh')
-rw-r--r--nextcloud_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nextcloud_update.sh b/nextcloud_update.sh
index b3409c3d..1d8dcc60 100644
--- a/nextcloud_update.sh
+++ b/nextcloud_update.sh
@@ -60,7 +60,7 @@ fi
# This updates ALL Docker images:
if [ "$(docker ps -a >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
then
-docker images | grep -v REPOSITORY | awk '{print $1}' | xargs -L1 docker pull
+docker images --format "{{.Repository}}:{{.Tag}}" | grep :latest | xargs -L1 docker pull
fi
# Nextcloud 13 is required.