Update build.ps1 to reflect move to GHCR

This commit is contained in:
Joseph Gigantino 2025-03-29 13:04:34 -04:00 committed by GitHub
parent 0c0a5b1f12
commit 57b712f75e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,13 +45,13 @@ foreach ($instance in $oldinstances) {
# update bitwarden itself # update bitwarden itself
if ($args[0] -eq 'y') if ($args[0] -eq 'y')
{ {
docker pull bitwarden/self-host:beta docker pull ghcr.io/bitwarden/self-host:beta
} }
else else
{ {
$confirmation = Read-Host "Update (or get) bitwarden source container" $confirmation = Read-Host "Update (or get) bitwarden source container"
if ($confirmation -eq 'y') { if ($confirmation -eq 'y') {
docker pull bitwarden/self-host:beta docker pull ghcr.io/bitwarden/self-host:beta
} }
} }
@ -61,7 +61,7 @@ docker rm bitwarden-patch
docker image rm bitwarden-patch docker image rm bitwarden-patch
# start a new bitwarden instance so we can patch it # start a new bitwarden instance so we can patch it
$patchinstance = docker run -d --name bitwarden-patch bitwarden/self-host:beta $patchinstance = docker run -d --name bitwarden-patch ghcr.io/bitwarden/self-host:beta
# create our temporary directory # create our temporary directory
New-item -ItemType Directory -Path $tempdirectory New-item -ItemType Directory -Path $tempdirectory