Skip to content

Commit

Permalink
VCI-223: Fix dockerTag check
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Nov 29, 2021
1 parent 82db098 commit 53fd2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docker/Build.Docker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal partial class Build
[Parameter("Docker Image Tag")] public static string DockerImageTag { get; set; }
[Parameter("Dockerfile Path")] public static string DockerfilePath { get; set; }

private static string DockerImageFullName => DockerImageTag.IsNullOrEmpty() ? DockerImageName : DockerImageName.Append($":{DockerImageTag}");
private static string DockerImageFullName => string.IsNullOrEmpty(DockerImageTag) ? DockerImageName : DockerImageName.Append($":{DockerImageTag}");

Target DockerLogin => _ => _
.Before(BuildImage, PushImage)
Expand Down

0 comments on commit 53fd2cd

Please sign in to comment.