Skip to content

Commit

Permalink
Update docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
peters committed Jan 12, 2021
1 parent 7ddb86f commit d5dd801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ param(
[Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
[string] $DockerImageName = "snapx",
[Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
[string] $DockerVersion = "3.0.101",
[string] $DockerVersion = "6.1",
[Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
[switch] $DockerLocal,
[Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
Expand Down Expand Up @@ -512,7 +512,7 @@ switch ($Target) {
}
"Publish-Docker-Image" {
Invoke-Command-Colored $CommandDocker @(
"build -f ""$DockerFilenamePath"" -t ${DockerGithubRegistryUrl}/${DockerImageName}:${DockerVersion} docker"
"build --no-cache -f ""$DockerFilenamePath"" -t ${DockerGithubRegistryUrl}/${DockerImageName}:${DockerVersion} docker"
)

Invoke-Command-Colored $CommandDocker @(
Expand Down

0 comments on commit d5dd801

Please sign in to comment.