dotnet / sdk-container-builds

Libraries and build tooling to create container images from .NET projects using MSBuild

Home Page:https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document ability to export a tar.gz version of the image

baronfel opened this issue · comments

This was added in dotnet/sdk#35151.

Short version - a new property ContainerArchiveOutputPath is available. If set to a full path, that path is the directory of the generated image. If a relative path is provided, that path is anchored at the current working directory. A file with the name $(ContainerRepository).tar.gz is created at that location containing all of the tags built.