/** * Copyright 2023 actions-toolkit authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export interface BakeDefinition { group: Record; target: Record; } export interface Group { description?: string; targets: Array; } export interface Target { description?: string; args?: Record; attest?: Array | Array; 'cache-from'?: Array | Array; 'cache-to'?: Array | Array; call?: string; context: string; contexts?: Record; dockerfile: string; 'dockerfile-inline'?: string; entitlements?: Array; labels?: Record; 'no-cache'?: boolean; 'no-cache-filter'?: Array; output?: Array | Array; platforms?: Array; pull?: boolean; secret?: Array | Array; 'shm-size'?: string; ssh?: Array | Array; tags?: Array; target?: string; ulimits?: Array; } export interface AttestEntry { type: string; disabled?: string | boolean; [key: string]: string | boolean | undefined; } export interface CacheEntry { type: string; [key: string]: string; } export interface ExportEntry { type: string; [key: string]: string; } export interface SecretEntry { id?: string; src?: string; env?: string; } export interface SSHEntry { id?: string; paths?: Array; }