Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit e2054cf

Browse files
authored
add -r flag to jq
1 parent 7f335d1 commit e2054cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ if [ $ret -ne 0 ]; then
1313
exit $ret
1414
fi
1515

16-
username=$(jq -n "$CMDOUT" | jq '.username')
17-
password=$(jq -n "$CMDOUT" | jq '.plain_text')
18-
hostname=$(jq -n "$CMDOUT" | jq '.database_branch.access_host_url')
16+
username=$(jq -n "$CMDOUT" | jq -r '.username')
17+
password=$(jq -n "$CMDOUT" | jq -r '.plain_text')
18+
hostname=$(jq -n "$CMDOUT" | jq -r '.database_branch.access_host_url')
1919
echo "username=$username" >> $GITHUB_OUTPUT
2020
echo "password=$password" >> $GITHUB_OUTPUT
2121
echo "hostname=$hostname" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)