1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00

chore: fix log

This commit is contained in:
Carlos Alexandro Becker 2018-10-20 13:59:13 -03:00 committed by Carlos Alexandro Becker
parent 21084567fc
commit 76b18fb554

View File

@ -283,7 +283,7 @@ func dockerTag(ctx *context.Context, image, tag string) error {
}
func dockerPush(ctx *context.Context, image artifact.Artifact) error {
log.WithField("image", image).Info("pushing docker image")
log.WithField("image", image.Name).Info("pushing docker image")
/* #nosec */
var cmd = exec.CommandContext(ctx, "docker", "push", image.Name)
log.WithField("cmd", cmd.Args).Debug("running")