DEV Community

Discussion on: Container image promotion across environments - Registry

Collapse
 
benjaminlucas153 profile image
benjaminlucas153

Hi, Was curious to know what difference the base registry makes. instead why can't we directly push to DEV registry using CI and then promote to TEST and PROD using CD?

Collapse
 
n3wt0n profile image
Davide 'CoderDave' Benvegnù

Hi, thanks for your question. The difference is that if you have a system that pulls the registry and deploys automatically the new version of the image then you probably want to be able to control when and how you deploy. If you push directly to the base registry, which no service should use, you can control the deployment flow to any and every environment. Hope this makes sense.