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/subdir/simple/main.cue

30 lines
363 B
CUE
Raw Normal View History

package main
hello: {
string
#dagger: compute: [
{
do: "fetch-container"
ref: "alpine"
},
{
do: "exec"
args: ["mkdir", "-p", "/tmp/foo"]
},
{
do: "exec"
args: ["sh", "-c", "echo -n world > /tmp/foo/hello"]
},
{
do: "subdir"
dir: "/tmp/foo"
},
{
do: "export"
source: "/hello"
format: "string"
},
]
}