mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
15 lines
262 B
Bash
15 lines
262 B
Bash
|
#! /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
|