Skip to content
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: 4 additions & 4 deletions docker/createManifest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ param(
$ContainerRegistry,

[ValidateNotNullOrEmpty()]
[ValidatePattern('^[abcdefghijklmnopqrstuvwxyz-]+$')]
[ValidatePattern('^[abcdefghijklmnopqrstuvwxyz\-0123456789\.]+$')]
[string]
$ManifestTag = 'latest',

[ValidateNotNullOrEmpty()]
[ValidatePattern('^[abcdefghijklmnopqrstuvwxyz-]+$')]
[ValidatePattern('^[abcdefghijklmnopqrstuvwxyz\-0123456789\.]+$')]
[string]
$Image = 'powershell',

[ValidateNotNullOrEmpty()]
[ValidatePattern('^[abcdefghijklmnopqrstuvwxyz-]+$')]
[ValidatePattern('^[abcdefghijklmnopqrstuvwxyz\-0123456789\.]+$')]
[string[]]
$TagList = ('ubuntu-16.04', 'windowsservercore')
)
Expand All @@ -36,4 +36,4 @@ docker manifest create $ContainerRegistry/${Image}:$ManifestTag $manifestList
docker manifest inspect $ContainerRegistry/${Image}:$ManifestTag

# push the manifest
docker manifest push $ContainerRegistry/${Image}:$ManifestTag
docker manifest push --purge $ContainerRegistry/${Image}:$ManifestTag