e0d2b5cd3b
The reference to `docker.Copy` does not exist and should be `docker.#Copy` instead. This also leads to a confusing error message (possibly related to #493) as it isn't found while CUE is compiled, and instead results in the following runtime error: ``` [✗] actions.deps 2.1s 9:16PM FTL failed to execute plan: task failed: actions.deps._dag."2"._exec: invalid FS at path "actions.deps._dag.\"2\"._exec.input": FS is not set ``` Signed-off-by: Ben Gesoff <ben@gesoff.uk>
16 lines
316 B
CUE
16 lines
316 B
CUE
dagger.#Plan & {
|
|
// Path may be absolute, or relative to current working directory
|
|
client: filesystem: ".": read: {
|
|
// CUE type defines expected content
|
|
contents: dagger.#FS
|
|
exclude: ["node_modules"]
|
|
}
|
|
|
|
actions: {
|
|
copy: docker.#Copy & {
|
|
contents: client.filesystem.".".read.contents
|
|
}
|
|
// ...
|
|
}
|
|
}
|