mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
builder-next: fix squash
Tagger was not called for BuildKit-mode. Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
6dfd5bd74f
commit
7fc0f820ea
1 changed files with 1 additions and 1 deletions
|
@ -82,8 +82,8 @@ func (b *Backend) Build(ctx context.Context, config backend.BuildConfig) (string
|
||||||
if !useBuildKit {
|
if !useBuildKit {
|
||||||
stdout := config.ProgressWriter.StdoutFormatter
|
stdout := config.ProgressWriter.StdoutFormatter
|
||||||
fmt.Fprintf(stdout, "Successfully built %s\n", stringid.TruncateID(imageID))
|
fmt.Fprintf(stdout, "Successfully built %s\n", stringid.TruncateID(imageID))
|
||||||
err = tagger.TagImages(image.ID(imageID))
|
|
||||||
}
|
}
|
||||||
|
err = tagger.TagImages(image.ID(imageID))
|
||||||
return imageID, err
|
return imageID, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue