sdk-container-builds icon indicating copy to clipboard operation
sdk-container-builds copied to clipboard

Support BaseContainerRepository as a prefix for ContainerRepository

Open scrocquesel-ml150 opened this issue 10 months ago • 0 comments

I would want to be able to publish multiple projects in a sln with just a single command.

dotnet publish -p:ContainerRegistry=xxx.azurecr.io -p:BaseContainerRepository=$(System.TeamProject)/$(Build.Repository.Name)

I know I can add some properties, but this use case seems to be a reasonable pattern for being supported out of the box from the command line only.

I think that if BaseContainerRepository is not empty it should be prefixed to ContainerRepository wether it is the default AssemblyName value or custom value.

Something similar to this comment

scrocquesel-ml150 avatar Jan 21 '25 14:01 scrocquesel-ml150