Move snippets outside of markdown

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-10 11:50:21 -01:00
parent cf0505614f
commit 6204970d53
13 changed files with 177 additions and 170 deletions

View 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"
}
}