mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-20 05:06:18 +00:00
Compare commits
2 Commits
fff2b4294d
...
4451fcd5be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4451fcd5be | ||
|
|
d069f46bce |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.ps1 text eol=crlf
|
||||
@@ -53,11 +53,11 @@ foreach ($instance in $oldinstances) {
|
||||
|
||||
# update bitwarden itself
|
||||
if ($args[0] -eq 'update') {
|
||||
docker pull ghcr.io/bitwarden/lite:beta
|
||||
docker pull ghcr.io/bitwarden/lite:latest
|
||||
} else {
|
||||
$confirmation = Read-Host "Update (or get) bitwarden source container (y/n)"
|
||||
if ($confirmation -eq 'y') {
|
||||
docker pull ghcr.io/bitwarden/lite:beta
|
||||
docker pull ghcr.io/bitwarden/lite:latest
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ foreach ($instance in $oldinstances) {
|
||||
}
|
||||
|
||||
# start a new bitwarden instance so we can patch it
|
||||
$patchinstance = docker run -d --name bitwarden-extract ghcr.io/bitwarden/lite:beta
|
||||
$patchinstance = docker run -d --name bitwarden-extract ghcr.io/bitwarden/lite:latest
|
||||
|
||||
# create our temporary directory
|
||||
New-item -ItemType Directory -Path $tempdirectory
|
||||
|
||||
6
build.sh
6
build.sh
@@ -54,11 +54,11 @@ done
|
||||
|
||||
# update bitwarden itself
|
||||
if [ "$1" = "update" ]; then
|
||||
docker pull ghcr.io/bitwarden/lite:beta
|
||||
docker pull ghcr.io/bitwarden/lite:latest
|
||||
else
|
||||
read -p "Update (or get) bitwarden source container (y/n): "
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
docker pull ghcr.io/bitwarden/lite:beta
|
||||
docker pull ghcr.io/bitwarden/lite:latest
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -81,7 +81,7 @@ for INSTANCE in ${OLDINSTANCES[@]}; do
|
||||
done
|
||||
|
||||
# start a new bitwarden instance so we can patch it
|
||||
PATCHINSTANCE=$(docker run -d --name bitwarden-extract ghcr.io/bitwarden/lite:beta)
|
||||
PATCHINSTANCE=$(docker run -d --name bitwarden-extract ghcr.io/bitwarden/lite:latest)
|
||||
|
||||
# create our temporary directory
|
||||
mkdir $TEMPDIRECTORY
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
FROM ghcr.io/bitwarden/lite:beta
|
||||
FROM ghcr.io/bitwarden/lite:latest
|
||||
|
||||
COPY ./temp/ /app/
|
||||
|
||||
Reference in New Issue
Block a user