Skip to content

Specify container registries for Aspire Publish - CICD #9852

@Zylvian

Description

@Zylvian

Is there an existing issue for this?

  • 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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions