mirror of
https://github.com/goreleaser/goreleaser.git
synced 2026-06-19 23:24:39 +02:00
fix: better handle docker skip errors (#3107)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
@@ -128,6 +128,9 @@ func (Pipe) Run(ctx *context.Context) error {
|
||||
})
|
||||
}
|
||||
if err := g.Wait(); err != nil {
|
||||
if pipe.IsSkip(err) {
|
||||
return err
|
||||
}
|
||||
return fmt.Errorf("docker build failed: %w\nLearn more at https://goreleaser.com/errors/docker-build\n", err) // nolint:revive
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user