Fix circleci
This commit is contained in:
parent
65bda70c34
commit
521be7b825
|
@ -12,4 +12,4 @@ jobs:
|
|||
command: ./generateKeys.sh
|
||||
- run:
|
||||
name: Build script
|
||||
command: ./build.sh
|
||||
command: ./build.sh y
|
13
build.ps1
13
build.ps1
|
@ -43,9 +43,16 @@ foreach ($instance in $oldinstances) {
|
|||
}
|
||||
|
||||
# update bitwarden itself
|
||||
$confirmation = Read-Host "Update (or get) bitwarden source container"
|
||||
if ($confirmation -eq 'y') {
|
||||
docker pull bitwarden/self-host:beta
|
||||
if ($args[0] -eq 'y')
|
||||
{
|
||||
docker pull bitwarden/self-host:beta
|
||||
}
|
||||
else
|
||||
{
|
||||
$confirmation = Read-Host "Update (or get) bitwarden source container"
|
||||
if ($confirmation -eq 'y') {
|
||||
docker pull bitwarden/self-host:beta
|
||||
}
|
||||
}
|
||||
|
||||
# stop and remove previous existing patch(ed) container
|
||||
|
|
15
build.sh
15
build.sh
|
@ -46,13 +46,18 @@ for INSTANCE in ${OLDINSTANCES[@]}; do
|
|||
done
|
||||
|
||||
# update bitwarden itself
|
||||
read -p "Update (or get) bitwarden source container: " -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
docker pull bitwarden/self-host:beta
|
||||
if [ "$1" = "y" ]; then
|
||||
docker pull bitwarden/self-host:beta
|
||||
else
|
||||
read -p "Update (or get) bitwarden source container: " -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
docker pull bitwarden/self-host:beta
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# stop and remove previous existing patch(ed) container
|
||||
docker stop bitwarden-patch
|
||||
docker rm bitwarden-patch
|
||||
|
|
Loading…
Reference in New Issue