Skip to content

Commit e0e519d

Browse files
committed
Only intercept buildx build command for docker buildx
1 parent b0f1a69 commit e0e519d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildtools/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ func dockerCmd(c *cli.Context) error {
954954
case "scan":
955955
return dockerScanCmd(c, image)
956956
// Handle both build and buildx with same handler
957-
case "build", "buildx":
957+
case "build", "buildx build":
958958
err = buildCmd(c)
959959
default:
960960
err = dockerNativeCmd(c)

0 commit comments

Comments
 (0)