Merge pull request #1534 from grouville/reconcile-auth

Reconcile docker.#Push.auth and engine.#Push.auth
This commit is contained in:
Andrea Luzzardi
2022-01-31 16:08:53 -08:00
committed by GitHub
12 changed files with 79 additions and 89 deletions

View File

@@ -14,11 +14,10 @@ package engine
config: #ImageConfig
// Authentication
auth: [...{
target: string
auth?: {
username: string
secret: string | #Secret
}]
secret: #Secret
}
// Complete ref of the pushed image, including digest
result: #Ref
@@ -68,11 +67,10 @@ package engine
source: #Ref
// Authentication
auth: [...{
target: string
auth?: {
username: string
secret: string | #Secret
}]
secret: #Secret
}
// Root filesystem of downloaded image
output: #FS
@@ -98,11 +96,10 @@ package engine
}
// Authentication
auth: [...{
target: string
auth: [registry=string]: {
username: string
secret: string | #Secret
}]
secret: #Secret
}
platforms?: [...string]
target?: string