This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/tests/plan/outputs/outputs.cue
Andrea Luzzardi 2f1f055141 engine: Support plan outputs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-22 15:03:54 +01:00

22 lines
334 B
CUE

package main
import "alpha.dagger.io/europa/dagger/engine"
engine.#Plan & {
actions: {
scratch: engine.#Scratch
data: engine.#WriteFile & {
input: scratch.output
path: "/test"
mode: 0o600
contents: "foobar"
}
}
outputs: directories: test: {
contents: actions.data.output
dest: "./out"
}
}