6ab7f88007
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
23 lines
303 B
CUE
23 lines
303 B
CUE
package testing
|
|
|
|
test: #dagger: compute: [
|
|
{
|
|
do: "fetch-container"
|
|
ref: "alpine"
|
|
},
|
|
{
|
|
do: "exec"
|
|
args: ["sh", "-c", """
|
|
echo '{"something": "something"}' > /tmp/out
|
|
""",
|
|
]
|
|
dir: "/"
|
|
},
|
|
{
|
|
do: "export"
|
|
// Source path in the container
|
|
source: "/tmp/out"
|
|
format: "json"
|
|
},
|
|
]
|