[update] docker

This commit is contained in:
Lkeme 2023-06-18 14:29:20 +08:00
parent e05dcdf09c
commit 3c29197c5e
2 changed files with 43 additions and 17 deletions

View File

@ -10,41 +10,61 @@ case ${MIRRORS} in
;; ;;
"0") "0")
# https://github.com/ # https://github.com/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-github.com ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-github.com(RAW|源站) ${Font} \n ======== \n"
git remote set-url origin https://github.com/lkeme/BiliHelper-personal.git git remote set-url origin https://github.com/lkeme/BiliHelper-personal.git
;; ;;
"1") "1")
# https://ghproxy.com/ # https://ghproxy.com/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-ghproxy.com ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-ghproxy.com(KR|韩国) ${Font} \n ======== \n"
git remote set-url origin https://ghproxy.com/https://github.com/lkeme/BiliHelper-personal.git git remote set-url origin https://ghproxy.com/https://github.com/lkeme/BiliHelper-personal.git
;; ;;
"2") "2")
# http://fastgit.org/ # http://gitclone.com/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.fastgit.xyz ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-gitclone.com(CN|中国) ${Font} \n ======== \n"
git remote set-url origin https://hub.fastgit.xyz/lkeme/BiliHelper-personal.git git remote set-url origin https://gitclone.com/github.com/lkeme/BiliHelper-personal.git
;; ;;
"3") "3")
# https://hub.gitfast.tk/ # https://hub.gitfast.tk/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.gitfast.tk ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.gitfast.tk(US|美国) ${Font} \n ======== \n"
git remote set-url origin https://hub.gitfast.tk/lkeme/BiliHelper-personal.git git remote set-url origin https://hub.gitfast.tk/lkeme/BiliHelper-personal.git
;; ;;
"4") "4")
# https://hub.gitslow.tk/ # https://hub.gitslow.tk/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.gitslow.tk ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.gitslow.tk(US|美国) ${Font} \n ======== \n"
git remote set-url origin https://hub.gitslow.tk/lkeme/BiliHelper-personal.git git remote set-url origin https://hub.gitslow.tk/lkeme/BiliHelper-personal.git
;; ;;
"5") "5")
# https://hub.verge.tk/ # https://hub.verge.tk/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.verge.tk ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.verge.tk(US|美国) ${Font} \n ======== \n"
git remote set-url origin https://hub.verge.tk/lkeme/BiliHelper-personal.git git remote set-url origin https://hub.verge.tk/lkeme/BiliHelper-personal.git
;; ;;
"6") "6")
# https://gh.api.99988866.xyz/ # https://gh.api.99988866.xyz/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-gh.api.99988866.xyz ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-gh.api.99988866.xyz(US|美国) ${Font} \n ======== \n"
git remote set-url origin https://gh.api.99988866.xyz/https://github.com/lkeme/BiliHelper-personal.git git remote set-url origin https://gh.api.99988866.xyz/https://github.com/lkeme/BiliHelper-personal.git
;; ;;
"7")
# https://kgithub.com/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-kgithub.com(SG|新加坡) ${Font} \n ======== \n"
git remote set-url origin https://kgithub.com/lkeme/BiliHelper-personal.git
;;
"8")
# https://github.moeyy.xyz/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-github.moeyy.xyz(SG|新加坡) ${Font} \n ======== \n"
git remote set-url origin https://github.moeyy.xyz/https://github.com/lkeme/BiliHelper-personal.git
;;
"9")
# https://hub.fgit.ml/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.fgit.ml(HK|香港) ${Font} \n ======== \n"
git remote set-url origin https://hub.fgit.ml/lkeme/BiliHelper-personal.git
;;
"10")
# https://hub.fgit.gq/
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.fgit.gq(HK|香港) ${Font} \n ======== \n"
git remote set-url origin https://hub.fgit.gq/lkeme/BiliHelper-personal.git
;;
*) *)
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-github.com ${Font} \n ======== \n" echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-github.com(RAW|源站) ${Font} \n ======== \n"
git remote set-url origin https://github.com/lkeme/BiliHelper-personal.git git remote set-url origin https://github.com/lkeme/BiliHelper-personal.git
;; ;;
esac esac

View File

@ -248,14 +248,20 @@ $ -e VERSION=2 # 使用 版本 V2.x.x(默认选项)
- 使用github镜像加速 - 使用github镜像加速
> 以下加速镜像均为网络收集,感谢公益提供者,如有问题请联系删除
```shell script ```shell script
$ -e MIRRORS=0 # 使用 github.com $ -e MIRRORS=0 # 使用 github.com(RAW|CDN
$ -e MIRRORS=1 # 使用 ghproxy.com $ -e MIRRORS=1 # 使用 ghproxy.com(KR|韩国)
$ -e MIRRORS=2 # 使用 fastgit.org $ -e MIRRORS=2 # 使用 gitclone.com(CN|中国)
$ -e MIRRORS=3 # 使用 hub.gitfast.tk $ -e MIRRORS=3 # 使用 hub.gitfast.tk(US|美国)
$ -e MIRRORS=4 # 使用 hub.gitslow.tk $ -e MIRRORS=4 # 使用 hub.gitslow.tk(US|美国)
$ -e MIRRORS=5 # 使用 hub.verge.tk $ -e MIRRORS=5 # 使用 hub.verge.tk(US|美国)
$ -e MIRRORS=6 # 使用 gh.api.99988866.xyz $ -e MIRRORS=6 # 使用 gh.api.99988866.xyz(US|美国)
$ -e MIRRORS=7 # 使用 kgithub.com(SG|新加坡)
$ -e MIRRORS=8 # 使用 github.moeyy.xyz(SG|新加坡)
$ -e MIRRORS=9 # 使用 hub.fgit.ml(HK|香港)
$ -e MIRRORS=10 # 使用 hub.fgit.gq(HK|香港)
$ -e MIRRORS=custom -e CUSTOM_CLONE_URL=https://github.com/lkeme/BiliHelper-personal.git # 使用 自定义克隆地址 $ -e MIRRORS=custom -e CUSTOM_CLONE_URL=https://github.com/lkeme/BiliHelper-personal.git # 使用 自定义克隆地址
``` ```