Add outputs.files task to plan
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
17
tests/plan/outputs/directories/outputs.cue
Normal file
17
tests/plan/outputs/directories/outputs.cue
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import "dagger.io/dagger/engine"
|
||||
|
||||
engine.#Plan & {
|
||||
actions: data: engine.#WriteFile & {
|
||||
input: engine.#Scratch
|
||||
path: "/test"
|
||||
permissions: 0o600
|
||||
contents: "foobar"
|
||||
}
|
||||
|
||||
outputs: directories: test: {
|
||||
contents: actions.data.output
|
||||
dest: "./out"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user