Currently when ensuring images are present in repo during a deploy or push we loop over all container contexts present in the config. As context filters (dev, envs, namespaces etc.) are not applied to container contexts this results in unnecessary images being built/pushed.
This change updates to look only at containers that are present in config after filtering has been applied. Container contexts are then looked up from there.
Purpose of PR
Currently when ensuring images are present in repo during a deploy or push we loop over all container contexts present in the config. As context filters (dev, envs, namespaces etc.) are not applied to container contexts this results in unnecessary images being built/pushed.
This change updates to look only at containers that are present in config after filtering has been applied. Container contexts are then looked up from there.