adjusted build script
This commit is contained in:
parent
94bfcb2865
commit
acff0b19d6
12
build.sh
12
build.sh
|
@ -5,18 +5,12 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
|
||||
echo ""
|
||||
|
||||
if [ $# -gt 0 -a "$1" == "push" ]
|
||||
if [ $# -gt 1 -a "$1" == "push" ]
|
||||
then
|
||||
echo "# Pushing Web"
|
||||
echo ""
|
||||
|
||||
if [ $# -gt 1 ]
|
||||
then
|
||||
TAG=$2
|
||||
echo "# Pushing Web ($TAG)"
|
||||
echo ""
|
||||
docker push bitwarden/web:$TAG
|
||||
else
|
||||
docker push bitwarden/web
|
||||
fi
|
||||
elif [ $# -gt 1 -a "$1" == "tag" ]
|
||||
then
|
||||
TAG=$2
|
||||
|
|
Loading…
Reference in New Issue