test(docker): source cli backend live profile before auth check

This commit is contained in:
Vincent Koc
2026-05-06 02:49:57 -07:00
parent 2c7c19ac2d
commit 4996153b6d

View File

@@ -42,6 +42,13 @@ if [[ -z "$CLI_USE_CI_SAFE_CODEX_CONFIG" ]]; then
fi
fi
if [[ -f "$PROFILE_FILE" && -r "$PROFILE_FILE" ]]; then
set -a
# shellcheck disable=SC1090
source "$PROFILE_FILE"
set +a
fi
case "$CLI_AUTH_MODE" in
auto | api-key | subscription)
;;