File tree 3 files changed +17
-3
lines changed
3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ End {
305
305
{
306
306
$actualTagData = $allMeta.ActualTagDataByGroup .$tagGroup
307
307
$SubImagePath = Join-Path - Path $dockerFileName - ChildPath $allMeta.Meta.SubImage
308
- Write-Verbose - Message " getting subimage - fromtag: $ ( $dockerFileName ) - subimage: $ ( $allMeta.Meta.SubImage ) " - Verbose
308
+ Write-Verbose - Message " getting subimage - fromtag: $ ( $dockerFileName ) - subimage: $ ( $allMeta.Meta.SubImage ) "
309
309
$subImageAllMeta = Get-DockerImageMetaDataWrapper `
310
310
- DockerFileName $SubImagePath `
311
311
- CI:$CI.IsPresent `
Original file line number Diff line number Diff line change @@ -69,7 +69,21 @@ $buildScriptPath = Join-Path -Path $PSScriptRoot -ChildPath 'build.ps1'
69
69
70
70
$createScriptPath = Join-Path - Path $PSScriptRoot - ChildPath ' createManifest.ps1'
71
71
72
- $json = Start-NativeExecution - sb ([scriptblock ]::Create(" $buildScriptPath -GenerateManifestLists -Channel $Channel -OsFilter All" ))
72
+ $extraParams = ' '
73
+
74
+ if ($env: STABLERELEASETAG ) {
75
+ $extraParams += " -StableVersion $ ( $env: STABLERELEASETAG -replace ' ^v' ) "
76
+ }
77
+
78
+ if ($env: PREVIEWRELEASETAG ) {
79
+ $extraParams += " -PreviewVersion $ ( $env: PREVIEWRELEASETAG -replace ' ^v' ) "
80
+ }
81
+
82
+ if ($env: LTSRELEASETAG ) {
83
+ $extraParams += " -LtsVersion $ ( $env: LTSRELEASETAG -replace ' ^v' ) "
84
+ }
85
+
86
+ $json = Start-NativeExecution - sb ([scriptblock ]::Create(" $buildScriptPath -GenerateManifestLists -Channel $Channel -OsFilter All $extraParams " ))
73
87
74
88
$manifestLists = $json | ConvertFrom-Json
75
89
Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ function Get-DockerImageMetaDataWrapper
485
485
}
486
486
}
487
487
else {
488
- Write-Verbose " getting docker tag list" - Verbose
488
+ Write-Verbose " getting docker tag list"
489
489
if ($shortTags )
490
490
{
491
491
$tagDataFromScript = Get-DockerTagList - ShortTag $shortTags - FullTag $fullTag
You can’t perform that action at this time.
0 commit comments