New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for deploying from a local docker registry #145
Comments
Would an option to forge build that simply skips the push entirely work for this use case, maybe with a per profile customizable default? I think pushing to a local registry would be a noop anyways. |
Yes! |
I've released 0.4.3 with a new "local" type of docker registry. I think in combination with #146 that will work the best, but definitely let me know how it works out. ;-) |
@rhs ║ Registry type (one of ecr, gcr, generic)[generic]: |
For a newcomer, having the "setup" function not "just work" for the local registry is really frustrating. I have a local k8s cluster running with Docker for Mac, I don't have a need for an external registry for dev. This has to be a common use case. It's frustrating because I have to google for the issue, then I find this closed issue which tells me it's fixed, but then I see that it's not actually fixed (as of v0.4.15) because I'm just trying out Forge for the first time and it takes an extra 15 minutes just to complete a simple Getting Started guide. I can tell a lot of effort has been put into the docs and making forge accessible to newcomers, but this seems like a bit of an oversight. For anyone else going through the same thing, your ---
registry:
type: local |
Docker for Mac now ships with Kubernetes, which can load images directly from the local Docker container cache. (Minikube can do the same.)
When developing, I don't need or want to push my dev images to GCR. I want to build, without pushing, and deploy from the local tagged build.
However, there doesn't currently seem to be a way to construct a forge.yaml such that the local Docker image cache is used. I tried
generic
with-
, but it tried to load fromhttps://-/
😂The text was updated successfully, but these errors were encountered: