Move snippets outside of markdown
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
15
docs/tests/core-concepts/client/plans/file.cue
Normal file
15
docs/tests/core-concepts/client/plans/file.cue
Normal file
@@ -0,0 +1,15 @@
|
||||
import (
|
||||
"encoding/yaml"
|
||||
// ...
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "config.yaml": write: {
|
||||
// Convert a CUE value into a YAML formatted string
|
||||
contents: yaml.Marshal(actions.pull.output.config)
|
||||
}
|
||||
|
||||
actions: pull: docker.#Pull & {
|
||||
source: "alpine"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user