u
This commit is contained in:
		
							parent
							
								
									000d28f6f6
								
							
						
					
					
						commit
						466d7e51bf
					
				| @ -39,7 +39,7 @@ page_index=0 | ||||
| while true; do  | ||||
|   page_index=$((page_index+1)) | ||||
|   results=`curl -L -s "https://registry.hub.docker.com/v2/repositories/$OWNER/$IMAGE/tags?page=$page_index&page_size=$page_size" | jq -r 'select(.results != null) | .results[]["name"]'` | ||||
|   if [[ $? != 0  ||  "$results" == "" ]] | ||||
|   if [[ "$?" != 0  ||  "$results" == "" ]] | ||||
|   then | ||||
|     break | ||||
|   fi | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user