Merge pull request #511 from crazy-max/buildx-error-message

use the shared Buildx error summary helper
This commit is contained in:
CrazyMax
2026-09-13 12:45:44 +02:00
committed by GitHub
3 changed files with 16 additions and 16 deletions
Generated Vendored
+11 -11
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+3 -3
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -166,8 +166,8 @@ actionsToolkit.run(
// if there are no warnings found, return the first line of stdout
err = Error(res.stdout.split('\n')[0]?.trim());
}
} else if (res.stderr.length > 0) {
err = Error(`buildx bake failed with: ${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`);
} else {
err = Error(`buildx bake failed with: ${Buildx.getErrorMessage(res.stderr)}`);
}
}
});