From 60e72ba98996a725f42178703210ae0365d58f9b Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 10 May 2023 14:43:24 +0200 Subject: [PATCH] driver: update BuildKit version constraint for docker driver Signed-off-by: CrazyMax --- driver/docker/version.go | 4 ++++ driver/docker/version_test.go | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/driver/docker/version.go b/driver/docker/version.go index e4b7a72b..2de359de 100644 --- a/driver/docker/version.go +++ b/driver/docker/version.go @@ -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", diff --git a/driver/docker/version_test.go b/driver/docker/version_test.go index 679e9750..03b2c6a6 100644 --- a/driver/docker/version_test.go +++ b/driver/docker/version_test.go @@ -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", }, }