Skip to content

Commit

Permalink
fix(docker): improve error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 4, 2023
1 parent 1bd8190 commit 63f2f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pipe/docker/docker.go
Expand Up @@ -236,7 +236,7 @@ Previous error:
%w`, tmp, strings.Join(files, "\n "), err)
}
if isBuildxContextError(err.Error()) {
return fmt.Errorf("docker buildx not set to default context\nPlease switch with 'docker context use default'\nLearn more at https://goreleaser.com/errors/docker-build")
return fmt.Errorf("docker buildx is not set to default context - please switch with 'docker context use default'")
}
return err
}
Expand Down

0 comments on commit 63f2f0a

Please sign in to comment.