This commit is contained in:
qiaofeng1227 2023-10-25 09:03:11 +08:00
parent 17d842c1f5
commit c55dc5797b
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# modify time: 202310241724, you can modify here to trigger Docker Build action
# modify time: 202310250924, you can modify here to trigger Docker Build action
# Dockerfile refer to: https://github.com/go-gitea/gitea/blob/main/Dockerfile
FROM gitea/gitea:1.20.4

View file

@ -39,6 +39,7 @@ su -c "
fi
" git
echo "$user_exist"
if [ "$user_exist" -eq 1 ]; then
echo "Read credential from tmp"
username=$(grep -o "New user '[^']*" /tmp/credential | sed "s/New user '//")