feat: add registry target contracts
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
export type TRegistryProtocol = 'oci';
|
||||
|
||||
export interface IRegistryTarget {
|
||||
protocol: TRegistryProtocol;
|
||||
registryHost: string;
|
||||
repository: string;
|
||||
tag: string;
|
||||
imageUrl: string;
|
||||
serviceId?: string;
|
||||
imageId?: string;
|
||||
}
|
||||
|
||||
export interface IRegistryPushEvent {
|
||||
protocol: TRegistryProtocol;
|
||||
registryHost: string;
|
||||
repository: string;
|
||||
tag: string;
|
||||
digest: string;
|
||||
imageUrl: string;
|
||||
pushedAt: number;
|
||||
serviceId?: string;
|
||||
imageId?: string;
|
||||
actorUserId?: string;
|
||||
manifestMediaType?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user