From 1b816ff8387159143deeebdbfc2665274ff29997 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 11 Apr 2023 11:10:01 +0200 Subject: [PATCH] driver: update BuildKit version constraint for docker driver Signed-off-by: CrazyMax --- driver/docker/version.go | 2 +- driver/docker/version_test.go | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/driver/docker/version.go b/driver/docker/version.go index 67052122..e4b7a72b 100644 --- a/driver/docker/version.go +++ b/driver/docker/version.go @@ -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", }, { diff --git a/driver/docker/version_test.go b/driver/docker/version_test.go index 0e552b54..679e9750 100644 --- a/driver/docker/version_test.go +++ b/driver/docker/version_test.go @@ -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",