Write the bootstrap key only when it is set

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-08 12:07:53 +01:00
1 parent 9e986bfde4
commit 1ef375a21c
1 file changed
+4 -2
+4 -2
View File
@@ -162,9 +162,11 @@ jobs:
BOOTSTRAP_ADMIN_EMAIL=$SEED_ADMIN_EMAIL
RAUTHY_ADMIN_EMAIL=$SEED_ADMIN_EMAIL
EVENT_EMAIL=$SEED_ADMIN_EMAIL
BOOTSTRAP_API_KEY=$RAUTHY_BOOTSTRAP_API_KEY
BOOTSTRAP_API_KEY_SECRET=$RAUTHY_BOOTSTRAP_API_KEY_SECRET
EOF
if [ -n "$RAUTHY_BOOTSTRAP_API_KEY" ]; then
printf 'BOOTSTRAP_API_KEY=%s\nBOOTSTRAP_API_KEY_SECRET=%s\n' \
"$RAUTHY_BOOTSTRAP_API_KEY" "$RAUTHY_BOOTSTRAP_API_KEY_SECRET" >> "$STAGE/rauthy.env"
fi
fi
- name: Pull and bring the stack up