We establish Trudinger-type inequalities for variable Riesz potentials J(alpha(center dot),tau) f of functions f in Musielak-Orlicz-Morrey spaces of an integral form over metric measure spaces X . As an application and example, we give Trudinger's inequality for double-phase functionals with variable exponents. Finally, we prove the result for Sobolev functions satisfying a Poincare inequality in X .