Add `WithCredentialsLogin` extension for `ContainerRegistryResoure`
Open
needs-area-label
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
AFAICT there's currently no easy way to log in with the Container Registry
### Describe the solution you'd like
Similar to [this](https://github.com/davidfowl/aspire-ssh-deploy/blob/c8b31220216a168a232030a28b970c08e9716c7b/src/Aspire.Hosting.Docker.SshDeploy/ContainerRegistryLoginExtensions.cs#L22)
### Additional context
CC: @davidfowl
Contributor guide
Assessment
This issue has not been assessed yet.