Ignore failures running docker system prune
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @ -104,7 +104,7 @@ run_purge() { | ||||
|  | ||||
|   # See https://github.com/moby/moby/issues/30942#issuecomment-540699206 | ||||
|   until [ -z "$(docker -H "$REMOTE_DOCKER_HOST" stack ps "$PLUGIN_STACK" -q)" ]; do sleep 1; done | ||||
|   docker -H "$REMOTE_DOCKER_HOST" system prune --all --volumes --force | ||||
|   docker -H "$REMOTE_DOCKER_HOST" system prune --all --volumes --force || true | ||||
|  | ||||
|   # try and remove all secrets; Docker will leave ones which are in use | ||||
|   docker -H "$REMOTE_DOCKER_HOST" secret ls --format '{{ .Name }}' | xargs -i sh -c "echo {}; docker -H \"$REMOTE_DOCKER_HOST\" secret rm {} || true" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user