diff --git a/pkg/universe.dagger.io/docker/build.cue b/pkg/universe.dagger.io/docker/build.cue index fa58e9d9..1274a5e6 100644 --- a/pkg/universe.dagger.io/docker/build.cue +++ b/pkg/universe.dagger.io/docker/build.cue @@ -48,12 +48,10 @@ import ( // Execute copy operation _copy: engine.#Copy & { - "input": input.rootfs - "source": { - root: contents - path: source - } - "dest": dest + "input": input.rootfs + "contents": contents + source: source + "dest": dest } output: #Image & { diff --git a/pkg/universe.dagger.io/examples/changelog.com/lowlevel/main.cue b/pkg/universe.dagger.io/examples/changelog.com/lowlevel/main.cue index ffb0e9a7..273de6d9 100644 --- a/pkg/universe.dagger.io/examples/changelog.com/lowlevel/main.cue +++ b/pkg/universe.dagger.io/examples/changelog.com/lowlevel/main.cue @@ -98,9 +98,9 @@ engine.#Plan & { } appImage: engine.#Copy & { - input: runtimeImage.output - source: root: inputs.directories.app.contents - dest: "/app" + input: runtimeImage.output + contents: inputs.directories.app.contents + dest: "/app" } deps: engine.#Exec & {