mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
add customized GHCR_MIRROR_ADDRESS support
This commit is contained in:
@@ -251,7 +251,8 @@ function do_main_configuration() {
|
||||
|
||||
case $GHCR_MIRROR in
|
||||
dockerproxy)
|
||||
declare -g -r GHCR_SOURCE='ghcr.dockerproxy.com'
|
||||
GHCR_MIRROR_ADDRESS="${GHCR_MIRROR_ADDRESS:-"ghcr.dockerproxy.com"}"
|
||||
declare -g -r GHCR_SOURCE=$GHCR_MIRROR_ADDRESS
|
||||
;;
|
||||
*)
|
||||
declare -g -r GHCR_SOURCE='ghcr.io'
|
||||
|
||||
Reference in New Issue
Block a user