Targeting with nested repeaters

I have two repeaters in my UI. The first displays all of the ‘projects’ in my collection. Each ‘project’ has a collection of ‘images’. The projects are displayed as panels with the image list inside each panel as a set of button components.

When you click on one of the image buttons, I want to delete that image from the project. But how do I target the first repeater?

I’m using:

click="deleteImage(event.currentTarget.getRepeaterItem())"

to capture the ‘image’ repeater, but how can i grab the ‘project’ repeater in the same event?