Skip to content

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

Update docker-build.yml (#963)

Leendert de Borst51901e6ce3d8
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index da8d48ee3..ffd613b3a 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -126,7 +126,7 @@ jobs:
if: ${{ !steps.install_script.outputs.skip_remaining }}
run: |
output=$(./install.sh reset-admin-password)
- if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9+/=]{8,}.*'; then
+ if ! echo "$output" | grep -E '.*Password: [A-Za-z0-9+/=]{8,}.*'; then
echo "Invalid reset-admin-password output"
exit 1
fi
@@ -197,9 +197,10 @@ jobs:
fi
- 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 '.*New admin password: [A-Za-z0-9+/=]{8,}.*'; then
+ output=$(./install.sh reset-admin-password | sed 's/\x1b\[[0-9;]*m//g')
+ if ! echo "$output" | grep -E '^ Password: [A-Za-z0-9+/=]\{8,\}'; then
echo "Invalid reset-admin-password output"
exit 1
- fi
+ fi
\ No newline at end of file