6673ae69b3
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
26 lines
340 B
CUE
26 lines
340 B
CUE
package testing
|
|
|
|
import (
|
|
"dagger.io/dagger/op"
|
|
"dagger.io/dagger"
|
|
)
|
|
|
|
source: dagger.#Artifact
|
|
foo: "bar"
|
|
|
|
bar: {
|
|
string
|
|
|
|
#up: [
|
|
op.#FetchContainer & {ref: "busybox"},
|
|
op.#Exec & {
|
|
args: ["cp", "/source/testfile", "/out"]
|
|
mount: "/source": from: source
|
|
},
|
|
op.#Export & {
|
|
format: "string"
|
|
source: "/out"
|
|
},
|
|
]
|
|
}
|