diff --git a/.circleci/config.yml b/.circleci/config.yml index 3a43887..443f66e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: command: ./generateKeys.sh - run: name: Build script - command: ./build.sh + command: ./build.sh update - run: name: Test generating user license command: ./licenseGen.sh user TestName TestEmail@example.com 4a619d4a-522d-4c70-8596-affb5b607c23 diff --git a/build.sh b/build.sh index 1b4fd4b..4125f8e 100755 --- a/build.sh +++ b/build.sh @@ -46,7 +46,7 @@ for INSTANCE in ${OLDINSTANCES[@]}; do done # update bitwarden itself -if [ "$1" = "y" ]; then +if [ "$1" = "update" ]; then docker pull ghcr.io/bitwarden/self-host:beta else read -p "Update (or get) bitwarden source container (y/n): " -n 1 -r