bake: fix attest disabled attribute

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-01-21 14:25:43 +01:00
parent ed5ad08108
commit 4b68aa828a
3 changed files with 6 additions and 2 deletions

View File

@@ -238,6 +238,9 @@ export class Bake {
case 'type':
attestEntry.type = value;
break;
case 'disabled':
attestEntry.disabled = Util.parseBool(value);
break;
default:
attestEntry[key] = value;
}

View File

@@ -52,7 +52,8 @@ export interface Target {
export interface AttestEntry {
type: string;
[key: string]: string;
disabled?: string | boolean;
[key: string]: string | boolean | undefined;
}
export interface CacheEntry {