mirror of
				https://github.com/DaoCloud/public-image-mirror.git
				synced 2025-11-01 06:19:36 +08:00 
			
		
		
		
	Fix correct image
This commit is contained in:
		| @@ -10,10 +10,10 @@ function guess_image() { | ||||
|         return | ||||
|     fi | ||||
|  | ||||
|     if [[ "${image}" == *"registry.docker.com/r"* ]]; then | ||||
|     if [[ "${image}" == *"registry.hub.docker.com/r/"* ]]; then | ||||
|         image="docker.io/${image##*registry.hub.docker.com\/r\/}" | ||||
|     fi | ||||
|     if [[ "${image}" == *"hub.docker.com/r"* ]]; then | ||||
|     if [[ "${image}" == *"hub.docker.com/r/"* ]]; then | ||||
|         image="docker.io/${image##*hub.docker.com\/r\/}" | ||||
|     fi | ||||
|     if [[ "${image%%/*}" != *"."* ]] || [[ "${image}" != *"/"* ]]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user