From 6afce45913c0dd459d53094bcbc1535f6e2d3b48 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 16 Sep 2026 00:11:42 +0100 Subject: [PATCH] ci: the installer check requires non-empty secrets --- .github/workflows/docker-image-verify.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image-verify.yml b/.github/workflows/docker-image-verify.yml index 9a9ad057..fb8d3bb2 100644 --- a/.github/workflows/docker-image-verify.yml +++ b/.github/workflows/docker-image-verify.yml @@ -118,9 +118,10 @@ jobs: stack="$HOME/.docsgpt/server" "$docsgpt" status curl -fsS http://127.0.0.1:7091/ | grep -q 'src="/config.js"' - grep -q '^POSTGRES_PASSWORD=' "$stack/.env" + # The secrets must have values: an empty one would fall back to a default silently. + grep -Eq '^POSTGRES_PASSWORD=.+$' "$stack/.env" # Running the installer again upgrades in place and keeps the generated secrets. - before=$(grep '^JWT_SECRET_KEY=' "$stack/.env") + before=$(grep -E '^JWT_SECRET_KEY=.+$' "$stack/.env") bash deployment/install.sh --image-tag verify