chore: fix release conditions

This commit is contained in:
1138-4EB committed 2018-08-16 07:32:46 +01:00
1 parent 0854c423c3
commit 714876e3d0
2 files changed
+18 -3

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#! /bin/sh
set -e
cd $(dirname $0)
./docker_login.sh
for tag in `echo $(docker images filebrowser/filebrowser* | awk -F ' ' '{print $1 ":" $2}') | cut -d ' ' -f2-`; do
if [ "$tag" = "REPOSITORY:TAG" ]; then break; fi
docker push $tag
done
docker logout