Membrane curvature recruits Bin-Amphiphysin-Rvs (BAR)-domain proteins and induces local F-actin assembly, which further modifies the membrane curvature and dynamics. The downstream molecular pathway in vivo is still unclear. Here, we show that a tubular endomembrane scaffold supported by contractile actomyosin stabilizes the somatic cyst cell membrane folded around rigid spermatid heads during the final stages of sperm maturation in Drosophila testis. The structure resembles an actin "basket" covering the bundle of spermatid heads. Genetic analyses suggest that the actomyosin organization is nucleated exclusively by the formins - Diaphanous and Dishevelled Associated Activator of Morphogenesis (DAAM) - downstream of Rho1, which is recruited by the BAR-domain protein Amphiphysin. Actomyosin activity at the actin basket gathers the spermatid heads into a compact bundle and resists the somatic cell invasion by intruding spermatids. These observations reveal a distinct response mechanism of actin-membrane interactions, which generates a cell-adhesion-like strategy through active clamping.