Different container registries in dev and prod
See original GitHub issueIn development, I’d like to use a local container registry for the location of images (see https://github.com/datawire/forge/issues/145), but in CI deployments, I need to use GCR. Currently, forge.yaml appears to support specification of only one registry.
This could be supported in a few ways:
- a
--config
/-c
flag toforge build|deploy
to read a specificforge.yaml
, and then I define 2 different ones. - Make
forge.yaml
profile-aware. - Make
forge setup
unattendable, so I can run it as a pre-step with different parameters in CI and in dev beforeforge deploy
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Best practices for Azure Container Registry - Microsoft Learn
Because container registries are resources that are used across multiple container hosts, a registry should reside in its own resource group.
Read more >Container image promotion across environments - Registry
Let's say you have three different environments: Dev, Test, and Prod. First thing to do is to create three Stages in the Pipeline....
Read more >Container Registry Deployment Models - Integr8 Consulting
This blog tries to explain the different deployment models of Azure Container Registry (ACR) with their advantages and disadvantages.
Read more >What is a container registry? - Red Hat
A container registry essentially acts as a place for developers to store container images and share them out via a process of uploading...
Read more >Serving different Container Registry images for dev, test, prod ...
I'd keep them separate, too (maybe with some jobs to populate non-production projects with production data, if you need to). But if you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve released forge 0.4.3 with a forge.yaml that supports profiles. I believe that should complete all the items discussed in this issue.
As an aside, I’m intrigued by your comments around the VOLUME directive. We have a couple of vaguely similar sounding schemes geared towards enabling fast incremental container builds and/or live reloading of stuff running in a container. I’m kinda curious about the details of what you ended up with. I’d really like to provide a more general solution to this class of problem. Would it be possible for you to share a working project skeleton?
I just released forge 0.4.2 which includes part of what is discussed here. The docker user and password are now optional, so it should be possible to create completely secret free forge.yaml files and check them into source control.
I hope to finish up this and #145 early next week.