One image per environment
The build produces three images: one with staging's configuration, one with production's, one for development. Each is built from the same source with a different config file copied in.
The image tested in staging is not the image that runs in production, and "it worked in staging" stops meaning anything.
Make one image that runs anywhere.
Components — tap one, then tap a slot on the diagram
!Three images from one commit. The one tested is not the one that ships.
Outside every boundary: Staging, One image (no environment in it), Production, an empty slot for the supplied per environment Connections: One image calls supplied per environment (step 1) supplied per environment calls Staging — staging values (step 2) supplied per environment calls Production — production values (step 3)
Staging
One imageno environment in it
Production