feat(controller): inject app name and tag version in image env.

Replaces #1778