Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update docker-build.yml (#963)

Leendert de Borstc2290f3ba447
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index 1dc01ce83..2e7c73c2e 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -125,8 +125,8 @@ jobs:
- name: Test reset-admin-password output
if: ${{ !steps.install_script.outputs.skip_remaining }}
run: |
- output=$(./install.sh reset-admin-password)
- if ! echo "$output" | grep -E '.*Password: [A-Za-z0-9+/=]{8,}.*'; then
+ output=$(./install.sh reset-admin-password | sed 's/\x1b\[[0-9;]*m//g')
+ if ! echo "$output" | grep -Eq '^\s*Password: [A-Za-z0-9+/=]{8,}'; then
echo "Invalid reset-admin-password output"
exit 1
fi