It should be possible to customize Docker image names created with azd deploy
- Dominant language
- Go
- Stars
- 569
- Forks
- 364
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 136
Description
azd version 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)
Using `azd deploy` or `azd up` with .NET Aspire projects, docker images with such names are generated:
azd-deploy-bot-1707570986
azd-deploy-bot-1707571578
Every deployment creates a new repository with ACR, all with the `latest` tag.
I would like to create images names such as `codebreaker-bot`, and create a tag with the version number, and just have the latest build tagged with the `latest` tag.
I tried to use the `ContainerRepository` element to name the image in the csproj file - but likely azd uses the command-line with `dotnet publish` which overwrites the project file settings. Setting the image name and tags in other ways than using the project file would also be ok, but it should be possible to customize this.
Using
- azd version 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)
- .NET Aspire 8.0.0-preview.2.23619.3/8.0.100
- Visual Studio 17.9.0 Preview 5
Contributor guide
Assessment
This issue has not been assessed yet.