driver: update BuildKit version constraint for docker driver

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-05-10 14:43:24 +02:00
parent 1eb9ad979e
commit 60e72ba989
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 9 additions and 1 deletions

View File

@ -156,6 +156,10 @@ var mobyBuildkitVersions = []mobyBuildkitVersion{
MobyVersionConstraint: ">= 23.0.2-0, < 23.0.4-0",
BuildkitVersion: "v0.10.6+70f2ad5",
},
{
MobyVersionConstraint: ">= 23.0.4-0, < 23.0.7-0",
BuildkitVersion: "v0.10.6+d52b2d5",
},
{
MobyVersionConstraint: "~23-0",
BuildkitVersion: "v0.10+unknown",

View File

@ -112,7 +112,11 @@ func TestResolveBuildKitVersion(t *testing.T) {
expected: "v0.10.6+70f2ad5",
},
{
mobyVersion: "23.0.4",
mobyVersion: "23.0.5",
expected: "v0.10.6+d52b2d5",
},
{
mobyVersion: "23.0.7",
expected: "v0.10+unknown",
},
}