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
commit 612d46e23a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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