mirror of
https://github.com/bitwarden/server.git
synced 2024-11-29 13:25:17 +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"
|
$scriptsDir = "${output}\scripts"
|
||||||
$githubBaseUrl = "https://raw.githubusercontent.com/bitwarden/core/master"
|
$githubBaseUrl = "https://raw.githubusercontent.com/bitwarden/core/master"
|
||||||
$coreVersion = "1.15.1"
|
$coreVersion = "1.16.0"
|
||||||
$webVersion = "1.21.0"
|
$webVersion = "1.22.0"
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ fi
|
|||||||
|
|
||||||
SCRIPTS_DIR="$OUTPUT/scripts"
|
SCRIPTS_DIR="$OUTPUT/scripts"
|
||||||
GITHUB_BASE_URL="https://raw.githubusercontent.com/bitwarden/core/master"
|
GITHUB_BASE_URL="https://raw.githubusercontent.com/bitwarden/core/master"
|
||||||
COREVERSION="1.15.1"
|
COREVERSION="1.16.0"
|
||||||
WEBVERSION="1.21.0"
|
WEBVERSION="1.22.0"
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ function Update-Lets-Encrypt {
|
|||||||
|
|
||||||
function Update-Database {
|
function Update-Database {
|
||||||
Pull-Setup
|
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
|
dotnet Setup.dll -update 1 -db 1 -os win -corev $coreVersion -webv $webVersion
|
||||||
echo "Database update complete"
|
echo "Database update complete"
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ function updateLetsEncrypt() {
|
|||||||
|
|
||||||
function updateDatabase() {
|
function updateDatabase() {
|
||||||
pullSetup
|
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
|
dotnet Setup.dll -update 1 -db 1 -os $OS -corev $COREVERSION -webv $WEBVERSION
|
||||||
echo "Database update complete"
|
echo "Database update complete"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user