Open
Description
The container tooling will derive a name for the image based on the assembly name, and that name can be overridden by setting the ContainerRepository
property.
When pushing to an image registry the name needs to be prefixed to have separate namespaces for users, apps, ...
This request is to have a property separate from ContainerRepository
that allows to set this prefix.
Suggested name: ContainerRepositoryBase
.
Example
in the csproj:
<ContainerRepository>frontend</ContainerRepository>
Publish with ContainerRepositoryBase
set:
dotnet publish /p:PublishProfile=DefaultContainer /p:ContainerRegistry=quay.io /p:ContainerRepositoryBase=tmds/webstore
This publishes quay.io/tmds/webstore/frontend
.
cc @baronfel