Skip to content

Commit

Permalink
log $Tag if it was passed
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Sep 26, 2024
1 parent f7b3459 commit 710ed15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ if (!$Tag)
throw "No metadata found for $Name"
}
}
else
{
Write-Host "Tag value set by script parameter:" $Tag
}

$docker_command = "docker build $Tag $ImageDirectory"
Write-host $docker_command
Write-Host $docker_command
Invoke-Expression $docker_command

0 comments on commit 710ed15

Please sign in to comment.