After #7 is in place, an automatic rollback could be done if the image could not be fetched from the repository.
This could be an alternative to #5.
The steps to roll back should be:
- delete the resources of the application (e.g. deployment) (optional)
- reset (--hard) the rollout repo to HEAD~1
- re-apply the resources