From 1e2fcf0428adb8d51c5b7fba436ae5413b9a755f Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 22 May 2025 15:16:58 +0200 Subject: [PATCH] buildx(history): add platform in summary struct Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- src/buildx/history.ts | 1 + src/types/buildx/history.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/buildx/history.ts b/src/buildx/history.ts index 3bae017..9465e9c 100644 --- a/src/buildx/history.ts +++ b/src/buildx/history.ts @@ -130,6 +130,7 @@ export class History { numCachedSteps: res.NumCachedSteps, numTotalSteps: res.NumTotalSteps, numCompletedSteps: res.NumCompletedSteps, + defaultPlatform: res.Platform?.[0], error: errorLogs }; }); diff --git a/src/types/buildx/history.ts b/src/types/buildx/history.ts index c81faf4..e9a8ed7 100644 --- a/src/types/buildx/history.ts +++ b/src/types/buildx/history.ts @@ -131,5 +131,6 @@ export interface Summary { numTotalSteps: number; numCompletedSteps: number; frontendAttrs?: Record; + defaultPlatform?: string; error?: string; }