fix: check for password file presence to build db url
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
f
2025-04-11 17:01:33 -03:00
parent 1db30e2cda
commit 954bfae9ee

View File

@ -42,7 +42,7 @@ main() {
main
if [ -z "${CMD_DB_URL:-""}" ] ; then
if [ -n "${CMD_DB_PASSWORD_FILE:-""}" ] ; then
export CMD_DB_URL="${CMD_DB_TYPE}://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST:5432/$CMD_DB_NAME"
fi