diff --git a/integration/build/build_test.go b/integration/build/build_test.go
index <HASH>..<HASH> 100644
--- a/integration/build/build_test.go
+++ b/integration/build/build_test.go
@@ -175,7 +175,7 @@ func TestBuildMultiStageParentConfig(t *testing.T) {
 
 // Test cases in #36996
 func TestBuildLabelWithTargets(t *testing.T) {
-	skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.37"), "test added after 1.37")
+	skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.38"), "test added after 1.38")
 	bldName := "build-a"
 	testLabels := map[string]string{
 		"foo":  "bar",
Adjust API version to match correct release

This fix was not yet included in Docker <I>, so
API version <I> was not the right selector (Docker
<I>, <I> and <I> all support API <I>).

We should change these checks for engine versions,
or use a different method to skip tests when running
against older engines.