Merge pull request #3540 from Kdockerfiles/pkg_build_fix

Make `pkg build` build the image
This commit is contained in:
Avi Deitcher
2020-07-26 14:35:58 +03:00
committed by GitHub

View File

@@ -29,7 +29,7 @@ func pkgBuild(args []string) {
fmt.Printf("Building %q\n", p.Tag())
var opts []pkglib.BuildOpt
opts := []pkglib.BuildOpt{pkglib.WithBuildImage()}
if *force {
opts = append(opts, pkglib.WithBuildForce())
}