Skip to content

Commit 027c693

Browse files
committed
make the from tag on some images the original image
1 parent ff41ad6 commit 027c693

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/buildHelper/buildHelper.psm1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,10 @@ function Get-DockerImageMetaDataWrapper
383383
$BaseRepositry,
384384

385385
[switch]
386-
$Strict
386+
$Strict,
387+
388+
[string]
389+
$FromTag
387390
)
388391

389392
$imagePath = Join-Path -Path $ChannelPath -ChildPath $dockerFileName
@@ -439,7 +442,7 @@ function Get-DockerImageMetaDataWrapper
439442
[UpstreamImageTagData]@{
440443
Type='Full'
441444
Tag=$tagName
442-
FromTag = $BaseImage
445+
FromTag = $FromTag
443446
}
444447
)
445448
}

0 commit comments

Comments
 (0)