mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
Log before building or pushing.
Previously there would be a make "entering directory" hint in the logs, but with the switch to `linuxkit pkg` that no longer occurs. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
38e48d3bf4
commit
8f1d39cea1
@ -27,6 +27,8 @@ func pkgBuild(args []string) {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
fmt.Printf("Building %q\n", p.Tag())
|
||||
|
||||
var opts []pkglib.BuildOpt
|
||||
if *force {
|
||||
opts = append(opts, pkglib.WithBuildForce())
|
||||
|
@ -27,6 +27,8 @@ func pkgPush(args []string) {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
fmt.Printf("Building and pushing %q\n", p.Tag())
|
||||
|
||||
var opts []pkglib.BuildOpt
|
||||
opts = append(opts, pkglib.WithBuildPush())
|
||||
if *force {
|
||||
|
Loading…
Reference in New Issue
Block a user