1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 13:38:13 -05:00

adjusted build script

This commit is contained in:
Kyle Spearrin 2017-10-04 16:16:22 -04:00
parent e3f12c46c3
commit 23eb24c2bc
2 changed files with 13 additions and 24 deletions

View File

@ -1,7 +1,7 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15 # Visual Studio 15
VisualStudioVersion = 15.0.26730.12 VisualStudioVersion = 15.0.26730.16
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{DD5BD056-4AAE-43EF-BBD2-0B569B8DA84D}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{DD5BD056-4AAE-43EF-BBD2-0B569B8DA84D}"
EndProject EndProject

View File

@ -5,31 +5,20 @@ 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 bitwarden" TAG=$2
echo "================="
if [ $# -gt 1 ] echo "Pushing bitwarden ($TAG)"
then echo "========================"
TAG=$2
docker push bitwarden/api:$TAG docker push bitwarden/api:$TAG
docker push bitwarden/identity:$TAG docker push bitwarden/identity:$TAG
docker push bitwarden/server:$TAG docker push bitwarden/server:$TAG
docker push bitwarden/attachments:$TAG docker push bitwarden/attachments:$TAG
docker push bitwarden/nginx:$TAG docker push bitwarden/nginx:$TAG
docker push bitwarden/mssql:$TAG docker push bitwarden/mssql:$TAG
docker push bitwarden/setup:$TAG docker push bitwarden/setup:$TAG
else
docker push bitwarden/api
docker push bitwarden/identity
docker push bitwarden/server
docker push bitwarden/attachments
docker push bitwarden/nginx
docker push bitwarden/mssql
docker push bitwarden/setup
fi
elif [ $# -gt 1 -a "$1" == "tag" ] elif [ $# -gt 1 -a "$1" == "tag" ]
then then
TAG=$2 TAG=$2