How to change docker image names on deployment with azd #2165
Replies: 3 comments 2 replies
-
AFAIK azd is using container publish https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container?pivots=dotnet-8-0. Defaulting the container name to the resource name. I think you can override it. cc@baronfel |
Beta Was this translation helpful? Give feedback.
-
Thanks @davidfowl @baronfel, I would like to override the name, e.g. codebreaker-bot, use tags for the version, and the latest tag for the newest build. How can this be customized? |
Beta Was this translation helpful? Give feedback.
-
@christiannagel can you file an issue on https://github.com/Azure/azure-dev/issues? |
Beta Was this translation helpful? Give feedback.
-
How can I customize a docker image name?
Using
azd up
, the images are named azd-deploy-container-identifier with the latest tag. The identifier changes with every new deployment.I didn't find information about how to customize this. It looks like the element
ContainerRepository
from the csproj file isn't used.Beta Was this translation helpful? Give feedback.
All reactions