implemented "write-file" and "mkdir" ops

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-03-03 17:24:21 -08:00
parent f76e43d512
commit ee7bb3c3f5
3 changed files with 76 additions and 0 deletions

View File

@@ -71,3 +71,17 @@ package dagger
buildArg?: [string]: string
label?: [string]: string
}
#WriteFile: {
do: "write-file"
content: string
dest: string
mode: int | *0o644
}
#Mkdir: {
do: "mkdir"
dir: *"/" | string
path: string
mode: int | *0o755
}