IContainerRegistry Properties
InterfaceProperties3 members
Represents container registry information for deployment targets.
Gets the endpoint URL of the container registry.
public abstract ReferenceExpression Endpoint { get; }Remarks
An empty endpoint value indicates a local container registry where images are built and used locally without being pushed to a remote registry (e.g., Docker Compose scenarios).
Gets the name of the container registry.
public abstract ReferenceExpression Name { get; } Gets the repository path within the container registry.
public virtual ReferenceExpression? Repository { get; }Remarks
The repository represents the namespace or path segment that appears after the registry endpoint in a container image reference. For example:
- For Docker Hub (
docker.): typically a username likeio captainsafia - For GitHub Container Registry (
ghcr.): typicallyio username/reponame - For Azure Container Registry: typically left empty as images are pushed directly to the registry
null, the repository is combined with the image name to form the full image path: {endpoint}/{repository}/{imageName}:{tag} . When null, the image path is: {endpoint}/{imageName}:{tag} .