Add #Secret type to Docker #Build args

Signed-off-by: Kevin Poirot <kevin@vazee.fr>
This commit is contained in:
Kevin Poirot
2021-09-15 16:32:43 +02:00
parent 541c8c078f
commit 51f96172bd
3 changed files with 32 additions and 24 deletions

View File

@@ -116,8 +116,11 @@ package op
dockerfile?: string
platforms?: [...string]
buildArg?: [string]: string
label?: [string]: string
buildArg?: {
// FIXME: should be `[string]: string | #Secret` (circular import)
[string]: string | _ @dagger(secret)
}
label?: [string]: string
target?: string
hosts?: [string]: string
}