1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-17 12:06:50 +02:00

adjusted the string to search for in the error message

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Torsten Curdt 2023-11-04 00:43:31 +01:00 committed by Carlos Alexandro Becker
parent bd149aca5d
commit 1bd8190b9e

View File

@ -266,7 +266,7 @@ func isFileNotFoundError(out string) bool {
}
func isBuildxContextError(out string) bool {
return strings.Contains(out, "buildx to switch to context")
return strings.Contains(out, "to switch to context")
}
func processImageTemplates(ctx *context.Context, docker config.Docker) ([]string, error) {