1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

tag setup

This commit is contained in:
Kyle Spearrin
2017-10-03 23:20:09 -04:00
parent 0ad9e5a217
commit f2ae8bc132
4 changed files with 21 additions and 12 deletions

View File

@ -23,6 +23,8 @@ then
OS="mac"
fi
TAG="1.12.0"
# Functions
function dockerComposeUp() {
@ -51,15 +53,15 @@ function updateLetsEncrypt() {
}
function updateDatabase() {
docker pull bitwarden/setup
docker run -it --rm --name setup --network container:mssql -v $OUTPUT_DIR:/bitwarden bitwarden/setup \
docker pull bitwarden/setup:$TAG
docker run -it --rm --name setup --network container:mssql -v $OUTPUT_DIR:/bitwarden bitwarden/setup:$TAG \
dotnet Setup.dll -update 1 -db 1
echo "Database update complete"
}
function printEnvironment() {
docker pull bitwarden/setup
docker run -it --rm --name setup -v $OUTPUT_DIR:/bitwarden bitwarden/setup \
docker pull bitwarden/setup:$TAG
docker run -it --rm --name setup -v $OUTPUT_DIR:/bitwarden bitwarden/setup:$TAG \
dotnet Setup.dll -printenv 1 -env $OS
}