Skip to content

Commit 489268b

Browse files
authored
Merge pull request #507 from IEvangelist/patch-1
2 parents 8d7d904 + cf80921 commit 489268b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/ContainerCustomization.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,23 @@ This property controls the tag that is generated for the image. Tags are often u
113113

114114
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`,
115115

116+
_Set an explicit tag:_
116117

117118
```xml
118-
<!-- set an explicit version -->
119119
<PropertyGroup>
120120
<ContainerImageTag>1.2.3-alpha2</ContainerImageTag>
121121
</PropertyGroup>
122122
```
123123

124+
_Set the tag based on the apps `Version`:_
125+
124126
```xml
125-
<!-- set the version based on Version -->
126127
<PropertyGroup>
127128
<ContainerImageTag>$(Version)</ContainerImageTag>
128129
</PropertyGroup>
130+
```
131+
132+
_Set multiple tags (tags are `;` delimited):_
129133

130134
```xml
131135
<PropertyGroup>

0 commit comments

Comments
 (0)