mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
adjusted build script
This commit is contained in:
parent
e3f12c46c3
commit
23eb24c2bc
@ -1,7 +1,7 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26730.12
|
||||
VisualStudioVersion = 15.0.26730.16
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{DD5BD056-4AAE-43EF-BBD2-0B569B8DA84D}"
|
||||
EndProject
|
||||
|
35
build.sh
35
build.sh
@ -5,31 +5,20 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo ""
|
||||
|
||||
if [ $# -gt 0 -a "$1" == "push" ]
|
||||
if [ $# -gt 1 -a "$1" == "push" ]
|
||||
then
|
||||
echo "Pushing bitwarden"
|
||||
echo "================="
|
||||
TAG=$2
|
||||
|
||||
echo "Pushing bitwarden ($TAG)"
|
||||
echo "========================"
|
||||
|
||||
if [ $# -gt 1 ]
|
||||
then
|
||||
TAG=$2
|
||||
|
||||
docker push bitwarden/api:$TAG
|
||||
docker push bitwarden/identity:$TAG
|
||||
docker push bitwarden/server:$TAG
|
||||
docker push bitwarden/attachments:$TAG
|
||||
docker push bitwarden/nginx:$TAG
|
||||
docker push bitwarden/mssql:$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
|
||||
docker push bitwarden/api:$TAG
|
||||
docker push bitwarden/identity:$TAG
|
||||
docker push bitwarden/server:$TAG
|
||||
docker push bitwarden/attachments:$TAG
|
||||
docker push bitwarden/nginx:$TAG
|
||||
docker push bitwarden/mssql:$TAG
|
||||
docker push bitwarden/setup:$TAG
|
||||
elif [ $# -gt 1 -a "$1" == "tag" ]
|
||||
then
|
||||
TAG=$2
|
||||
|
Loading…
Reference in New Issue
Block a user