set git.HOME_PATH for docker images to default HOME

This commit is contained in:
wxiaoguang 2022-07-04 13:13:52 +08:00
parent 1a386b7f66
commit f120101ddc
2 changed files with 6 additions and 0 deletions

View File

@ -61,3 +61,6 @@ REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW
[lfs] [lfs]
PATH = /data/git/lfs PATH = /data/git/lfs
[git]
HOME_PATH = /data/git

View File

@ -57,3 +57,6 @@ REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW
[lfs] [lfs]
PATH = $GITEA_WORK_DIR/git/lfs PATH = $GITEA_WORK_DIR/git/lfs
[git]
HOME_PATH = $GITEA_WORK_DIR/git