Refactor deploy model for multiple containers

Support targetting multiple containers for deployment image triggers.

Clean up integration with ImageRepositories and add tests.