Add no cache to the docker-publish.ps1 file to make sure we're building clean images.

This commit is contained in:
Roger Far 2021-06-06 16:15:34 -06:00
parent 0e2cb36080
commit 94804d7cba

View file

@ -39,7 +39,7 @@ param(
$imageName = "$($DockerAccount)/rdtclient"
$dockerArgs = @( "buildx", "build", "--push", "--platform", $Platforms, "--tag", "$($imageName):latest", "." )
$dockerArgs = @( "buildx", "build", "--no-cache", "--push", "--platform", $Platforms, "--tag", "$($imageName):latest", "." )
if ([string]::IsNullOrEmpty($Version)) {
$Version = (Get-Content "package.json" | ConvertFrom-Json).version