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/cli/packages/a/main.cue
Andrea Luzzardi f39a88e644 cue native: environments can reference a module instead of embedding
one.

Fixes #631

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +02:00

20 lines
251 B
CUE

package a
import "dagger.io/dagger/op"
exp: {
string
#up: [
op.#FetchContainer & {ref: "busybox"},
op.#Exec & {
args: ["sh", "-c", """
printf a > /export
"""]
},
op.#Export & {
source: "/export"
format: "string"
},
]
}