bake: composable attributes for attestations support
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -27,7 +27,7 @@ export interface Group {
|
||||
export interface Target {
|
||||
description?: string;
|
||||
args?: Record<string, string>;
|
||||
attest?: Array<string>;
|
||||
attest?: Array<AttestEntry> | Array<string>;
|
||||
'cache-from'?: Array<CacheEntry> | Array<string>;
|
||||
'cache-to'?: Array<CacheEntry> | Array<string>;
|
||||
call?: string;
|
||||
@@ -50,6 +50,11 @@ export interface Target {
|
||||
ulimits?: Array<string>;
|
||||
}
|
||||
|
||||
export interface AttestEntry {
|
||||
type: string;
|
||||
[key: string]: string;
|
||||
}
|
||||
|
||||
export interface CacheEntry {
|
||||
type: string;
|
||||
[key: string]: string;
|
||||
|
||||
Reference in New Issue
Block a user