mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
gitea
This commit is contained in:
parent
17d842c1f5
commit
c55dc5797b
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 '//")
|
||||
|
|
Loading…
Reference in a new issue