diff --git a/tests/build.go b/tests/build.go index 87021f92..96e4af26 100644 --- a/tests/build.go +++ b/tests/build.go @@ -106,7 +106,7 @@ func testImageIDOutput(t *testing.T, sb integration.Sandbox) { outFlag := "--output=type=docker" - if sb.Name() == "remote" { + if sb.DockerAddress() == "" { // there is no Docker atm to load the image outFlag += ",dest=" + targetDir + "/image.tar" }