1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-09 03:43:51 -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

@ -2,6 +2,8 @@ param (
[string]$outputDir = "../."
)
[string]$tag = "1.12.0"
if(!(Test-Path -Path $outputDir )){
New-Item -ItemType directory -Path $outputDir | Out-Null
}
@ -26,8 +28,8 @@ if($domain -ne "localhost") {
}
}
docker pull bitwarden/setup
docker run -it --rm --name setup -v ${outputDir}:/bitwarden bitwarden/setup `
docker pull bitwarden/setup:$tag
docker run -it --rm --name setup -v ${outputDir}:/bitwarden bitwarden/setup:$tag `
dotnet Setup.dll -install 1 -domain ${domain} -letsencrypt ${letsEncrypt}
echo "Setup complete"