[WIP][DO_NOT_MERGE] add an upstream image field to builds

If you're expecting only one `ImageChange` trigger, and I can't see any other logic, you can break the loop here, there's no need to loop through all of triggers if you already got what you were looking for.