diff --git a/plugin/docker.go b/plugin/docker.go index 589a550..65d1602 100644 --- a/plugin/docker.go +++ b/plugin/docker.go @@ -105,13 +105,13 @@ func commandBuild(build Build, dryrun bool) *exec.Cmd { args = append(args, "--target", build.Target) } if build.Output != "" && dryrun { - args = append(args, "--output", "type=docker,rewrite-timestamp=true,"+build.Output) + args = append(args, "--output", "type=image,rewrite-timestamp=true,"+build.Output) } else if build.Output != "" && !dryrun { - args = append(args, "--output", "type=docker,push=true,rewrite-timestamp=true"+build.Output) + args = append(args, "--output", "type=image,push=true,rewrite-timestamp=true"+build.Output) } else if dryrun { - args = append(args, "--output", "type=docker,rewrite-timestamp=true") + args = append(args, "--output", "type=image,rewrite-timestamp=true") } else { - args = append(args, "--output", "type=docker,push=true,rewrite-timestamp=true") + args = append(args, "--output", "type=image,push=true,rewrite-timestamp=true") } if build.Quiet { args = append(args, "--quiet")