Skip to content

Commit

Permalink
fix: improve docker logs
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Dec 21, 2021
1 parent 1f98530 commit ff7d4f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/pipe/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func processBuildFlagTemplates(ctx *context.Context, docker config.Docker) ([]st
}

func dockerPush(ctx *context.Context, image *artifact.Artifact) error {
log.WithField("image", image.Name).Info("pushing docker image")
log.WithField("image", image.Name).Info("pushing")
docker := image.Extra[dockerConfigExtra].(config.Docker)
if err := imagers[docker.Use].Push(ctx, image.Name, docker.PushFlags); err != nil {
return err
Expand Down
4 changes: 2 additions & 2 deletions internal/pipe/docker/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (ManifestPipe) Publish(ctx *context.Context) error {

manifester := manifesters[manifest.Use]

log.WithField("manifest", name).WithField("images", images).Info("creating docker manifest")
log.WithField("manifest", name).WithField("images", images).Info("creating")
if err := manifester.Create(ctx, name, images, manifest.CreateFlags); err != nil {
return err
}
Expand All @@ -81,7 +81,7 @@ func (ManifestPipe) Publish(ctx *context.Context) error {
}
ctx.Artifacts.Add(art)

log.WithField("manifest", name).Info("pushing docker manifest")
log.WithField("manifest", name).Info("pushing")
return manifester.Push(ctx, name, manifest.PushFlags)
})
}
Expand Down

0 comments on commit ff7d4f5

Please sign in to comment.