From 1d4f25c5e52cbd2810771058a771e24223790d97 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 19 Sep 2023 19:40:09 +0800 Subject: [PATCH] apphub --- docker/w9apphub/config/entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/w9apphub/config/entrypoint.sh b/docker/w9apphub/config/entrypoint.sh index fd6dfc9b..705032d2 100644 --- a/docker/w9apphub/config/entrypoint.sh +++ b/docker/w9apphub/config/entrypoint.sh @@ -30,7 +30,12 @@ if [ -f "/websoft9/credentials/git" ]; then content=$(cat /websoft9/credentials/git) username=$(echo "$content" | jq -r '.username') password=$(echo "$content" | jq -r '.password') + email=$(echo "$content" | jq -r '.email') echo "start to init git" + git config --global user.name $username + git config --global user.email $email + git config --global user.password $password + else # git user not exist, output the error message echo "can not init git"