local: improve log message
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
4a4c0da0aa
commit
a8df284e9b
@ -267,7 +267,7 @@ func (p *Pipeline) Local(ctx context.Context, op *compiler.Value) error {
|
|||||||
llb.Local(
|
llb.Local(
|
||||||
dir,
|
dir,
|
||||||
llb.FollowPaths(include),
|
llb.FollowPaths(include),
|
||||||
llb.WithCustomName(p.vertexNamef("Local %s", dir)),
|
llb.WithCustomName(p.vertexNamef("Local %s [transfer]", dir)),
|
||||||
|
|
||||||
// Without hint, multiple `llb.Local` operations on the
|
// Without hint, multiple `llb.Local` operations on the
|
||||||
// same path get a different digest.
|
// same path get a different digest.
|
||||||
@ -277,6 +277,7 @@ func (p *Pipeline) Local(ctx context.Context, op *compiler.Value) error {
|
|||||||
"/",
|
"/",
|
||||||
"/",
|
"/",
|
||||||
),
|
),
|
||||||
|
llb.WithCustomName(p.vertexNamef("Local %s [copy]", dir)),
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user