mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
adjusted build script
This commit is contained in:
14
build.sh
14
build.sh
@@ -5,18 +5,12 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
if [ $# -gt 0 -a "$1" == "push" ]
|
if [ $# -gt 1 -a "$1" == "push" ]
|
||||||
then
|
then
|
||||||
echo "# Pushing Web"
|
TAG=$2
|
||||||
|
echo "# Pushing Web ($TAG)"
|
||||||
echo ""
|
echo ""
|
||||||
|
docker push bitwarden/web:$TAG
|
||||||
if [ $# -gt 1 ]
|
|
||||||
then
|
|
||||||
TAG=$2
|
|
||||||
docker push bitwarden/web:$TAG
|
|
||||||
else
|
|
||||||
docker push bitwarden/web
|
|
||||||
fi
|
|
||||||
elif [ $# -gt 1 -a "$1" == "tag" ]
|
elif [ $# -gt 1 -a "$1" == "tag" ]
|
||||||
then
|
then
|
||||||
TAG=$2
|
TAG=$2
|
||||||
|
|||||||
Reference in New Issue
Block a user