Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ContainerCustomization.md #507

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/ContainerCustomization.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,23 @@ This property controls the tag that is generated for the image. Tags are often u

By default in .NET 8, the value used will be `latest` - keeping in line with experiences offered by other container tooling. In previous versions, the default value was the `Version` of the project. To continue using the `Version`,

_Set an explicit tag:_

```xml
<!-- set an explicit version -->
<PropertyGroup>
<ContainerImageTag>1.2.3-alpha2</ContainerImageTag>
</PropertyGroup>
```

_Set the tag based on the apps `Version`:_

```xml
<!-- set the version based on Version -->
<PropertyGroup>
<ContainerImageTag>$(Version)</ContainerImageTag>
</PropertyGroup>
```

_Set multiple tags (tags are `;` delimited):_

```xml
<PropertyGroup>
Expand Down