Update Unified branch to account for move from Docker Hub to GHCR (#227)

* Update build.sh to reflect move to GHCR

* Update build.ps1 to reflect move to GHCR

* Update README.md to reflect move to GHCR

* Update Dockerfile-bitwarden-patch to reflect move to GHCR
This commit is contained in:
Joseph Gigantino
2025-03-29 13:15:16 -04:00
committed by GitHub
parent 770dcd33f6
commit d71aa84e52
4 changed files with 12 additions and 12 deletions

View File

@@ -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