Merge pull request #1731 from crazy-max/update-moby-ver

driver: update BuildKit version constraint for docker driver
This commit is contained in:
CrazyMax 2023-04-11 11:26:32 +02:00 committed by GitHub
commit 672eeed9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -153,7 +153,7 @@ var mobyBuildkitVersions = []mobyBuildkitVersion{
BuildkitVersion: "v0.10.6+4f0ee09",
},
{
MobyVersionConstraint: "23.0.2",
MobyVersionConstraint: ">= 23.0.2-0, < 23.0.4-0",
BuildkitVersion: "v0.10.6+70f2ad5",
},
{

View File

@ -105,7 +105,11 @@ func TestResolveBuildKitVersion(t *testing.T) {
},
{
mobyVersion: "23.0.2-rc.1",
expected: "v0.10+unknown",
expected: "v0.10.6+70f2ad5",
},
{
mobyVersion: "23.0.3",
expected: "v0.10.6+70f2ad5",
},
{
mobyVersion: "23.0.4",