mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05: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
|
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
|
||||||
|
19
build.sh
19
build.sh
@ -5,15 +5,13 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
if [ $# -gt 0 -a "$1" == "push" ]
|
if [ $# -gt 1 -a "$1" == "push" ]
|
||||||
then
|
|
||||||
echo "Pushing bitwarden"
|
|
||||||
echo "================="
|
|
||||||
|
|
||||||
if [ $# -gt 1 ]
|
|
||||||
then
|
then
|
||||||
TAG=$2
|
TAG=$2
|
||||||
|
|
||||||
|
echo "Pushing bitwarden ($TAG)"
|
||||||
|
echo "========================"
|
||||||
|
|
||||||
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
|
||||||
@ -21,15 +19,6 @@ then
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user