Customizing image names and tags when deploying with azd in Aspire
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
Hi team,
I'm deploying an API using Azure DevOps pipelines, following the workflow recommended by Aspire and using `azd` for infrastructure and deployment.
I noticed that the container image names follow the pattern, and I understand that I can customize those names changing my service name or modifying azule.yml file generated after I run `azd init`:
`/-`
Example: tasks/api-tasks-staging
However, the image tags generated during deployment seem to follow an opaque format like:
```
azd-deploy-1750241083
azd-deploy-1750235217
```
I would like to customize these tags so that they include meaningful identifiers such as the commit SHA or build ID, to improve traceability between commits/builds and container images.
Is there currently a way to configure how the tags are generated by azd or the Aspire tooling? If not, could support for this be considered in future releases?
Thanks for the great work on Aspire!
Contributor guide
Assessment
This issue has not been assessed yet.