Specify container registries for Aspire Publish - CICD
- 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 run the `aspire publish` command in a Gitlab pipeline, publishing the generated artifacts to the associated Container Regsitry in the repository.
Running `aspire publish` in a pipeline will currently crash, as it can't find a local registry to push to.
### Describe the solution you'd like
Some way to pass MSBuild arguments to aspire publish would solve this issue:
`aspire publish /p:ContainerRegistry=$CI_REGISTRY /p:ContainerRepository=$CI_PROJECT_PATH /p:ContainerImageTags=$TAGNAME`
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.