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
|
||||
if ($args[0] -eq 'y')
|
||||
{
|
||||
docker pull bitwarden/self-host:beta
|
||||
docker pull ghcr.io/bitwarden/self-host:beta
|
||||
}
|
||||
else
|
||||
{
|
||||
$confirmation = Read-Host "Update (or get) bitwarden source container"
|
||||
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
|
||||
|
||||
# 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
|
||||
New-item -ItemType Directory -Path $tempdirectory
|
||||
|
@ -101,4 +101,4 @@ docker build -t bitbetter/licensegen "$pwd\src\licenseGen"
|
|||
|
||||
# clean the licenseGen source directory
|
||||
Remove-Item "$pwd\src\licenseGen\Core.dll" -Force
|
||||
Remove-Item "$pwd\src\licenseGen\cert.pfx" -Force
|
||||
Remove-Item "$pwd\src\licenseGen\cert.pfx" -Force
|
||||
|
|
Loading…
Reference in New Issue
Block a user