mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-07-12 14:33:27 +00:00
Update build.ps1 to reflect move to GHCR
This commit is contained in:
parent
0c0a5b1f12
commit
57b712f75e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user