Docker compose build secrets support.
- 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.
I want to be able to specify [build secrets](https://docs.docker.com/compose/how-tos/use-secrets/#build-secrets) to avoid using build arguments to pass secrets. https://docs.docker.com/reference/build-checks/secrets-used-in-arg-or-env/
- `Aspire.Hosting.Docker.Resources.ServiceNodes.Build` does not allow specifying Secrets.
- `Aspire.Hosting.Docker.Resources.ComposeNodes.Secret` does not allow to specify Environment attribute
### Describe the solution you'd like
I require full support for build secrets, as described in the Docker Compose documentation.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.