Show errors on push failures.
	
		
			
	
		
	
	
		
	
		
			Some checks reported errors
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build was killed
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported errors
		
		
	
	continuous-integration/drone/push Build was killed
				
			This commit is contained in:
		| @@ -121,14 +121,18 @@ function mirror() { | ||||
| function push_multiarch_image() { | ||||
| 	local image=$1 | ||||
|  | ||||
| 	if ! docker push -f "${REMOTE_IMAGE}"-amd64 &> /dev/null; then | ||||
| 	if ! docker push -f "${REMOTE_IMAGE}"-amd64 &> /tmp/push-amd64; then | ||||
| 		echo -e "\t! amd64 image push failed!" | ||||
|  | ||||
| 		echo -e "\nLogs:\n\n" && cat /tmp/push-amd64 && echo -e "\n" | ||||
| 	else | ||||
| 		echo -e "\t* amd64 image pushed" | ||||
| 	fi | ||||
|  | ||||
| 	if ! docker push -f ="${REMOTE_IMAGE}"-arm64 &> /dev/null; then | ||||
| 	if ! docker push -f ="${REMOTE_IMAGE}"-arm64 &> /tmp/push-arm64; then | ||||
| 		echo -e "\t! arm64 image push failed!" | ||||
|  | ||||
| 		echo -e "\nLogs:\n\n" && cat /tmp/push-arm64 && echo -e "\n" | ||||
| 	else | ||||
| 		echo -e "\t* arm64 image pushed" | ||||
| 	fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user