Skip to content

Commit

Permalink
Don't filtet out .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Nov 18, 2023
1 parent bdeb238 commit 6993dc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build/models/docker.cake
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ public record BaseImage(string Repo, string Tag, string CakePrefix)
public string CakeImage { get; } = $"cakebuild/cake:{CakePrefix}{Tag}";

public bool LinuxContainer { get; } = Tag switch {
"3.1" => true,
"6.0" => true,
"7.0" => true,
"8.0" => true,
string => (
Tag.StartsWith("3.1-")
|| Tag.StartsWith("6.0-")
Tag.StartsWith("6.0-")
|| Tag.StartsWith("7.0-")
|| Tag.StartsWith("8.0-")
)
&& (
!(
Expand All @@ -33,9 +33,9 @@ public record BaseImage(string Repo, string Tag, string CakePrefix)
};
public bool WindowsContainer { get; } = Tag switch {
string => (
Tag.StartsWith("3.1-")
|| Tag.StartsWith("6.0-")
Tag.StartsWith("6.0-")
|| Tag.StartsWith("7.0-")
|| Tag.StartsWith("8.0-")
)
&& (
(
Expand Down

0 comments on commit 6993dc6

Please sign in to comment.