mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
update docker version refs
This commit is contained in:
parent
c12e1e9de4
commit
13ad536d9c
@ -42,8 +42,8 @@ if($output -eq "") {
|
||||
|
||||
$scriptsDir = "${output}\scripts"
|
||||
$githubBaseUrl = "https://raw.githubusercontent.com/bitwarden/core/master"
|
||||
$coreVersion = "1.15.1"
|
||||
$webVersion = "1.21.0"
|
||||
$coreVersion = "1.16.0"
|
||||
$webVersion = "1.22.0"
|
||||
|
||||
# Functions
|
||||
|
||||
|
@ -37,8 +37,8 @@ fi
|
||||
|
||||
SCRIPTS_DIR="$OUTPUT/scripts"
|
||||
GITHUB_BASE_URL="https://raw.githubusercontent.com/bitwarden/core/master"
|
||||
COREVERSION="1.15.1"
|
||||
WEBVERSION="1.21.0"
|
||||
COREVERSION="1.16.0"
|
||||
WEBVERSION="1.22.0"
|
||||
|
||||
# Functions
|
||||
|
||||
|
@ -42,7 +42,7 @@ function Update-Lets-Encrypt {
|
||||
|
||||
function Update-Database {
|
||||
Pull-Setup
|
||||
docker run -it --rm --name setup --network container:mssql -v ${outputDir}:/bitwarden bitwarden/setup:$coreVersion `
|
||||
docker run -it --rm --name setup --network container:bitwarden-mssql -v ${outputDir}:/bitwarden bitwarden/setup:$coreVersion `
|
||||
dotnet Setup.dll -update 1 -db 1 -os win -corev $coreVersion -webv $webVersion
|
||||
echo "Database update complete"
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ function updateLetsEncrypt() {
|
||||
|
||||
function updateDatabase() {
|
||||
pullSetup
|
||||
docker run -it --rm --name setup --network container:mssql -v $OUTPUT_DIR:/bitwarden bitwarden/setup:$COREVERSION \
|
||||
docker run -it --rm --name setup --network container:bitwarden-mssql -v $OUTPUT_DIR:/bitwarden bitwarden/setup:$COREVERSION \
|
||||
dotnet Setup.dll -update 1 -db 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
||||
echo "Database update complete"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user