From 9920272ce271a59bc9ca1283d29aa1e3a7b2a94b Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Tue, 29 Mar 2022 19:29:17 +0100 Subject: [PATCH] Fix helloworld post dagger core package rename Follow-up to https://github.com/dagger/dagger/pull/1866 Signed-off-by: Gerhard Lazu --- .../examples/helloworld/{main.cue => helloworld.cue} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename pkg/universe.dagger.io/examples/helloworld/{main.cue => helloworld.cue} (80%) diff --git a/pkg/universe.dagger.io/examples/helloworld/main.cue b/pkg/universe.dagger.io/examples/helloworld/helloworld.cue similarity index 80% rename from pkg/universe.dagger.io/examples/helloworld/main.cue rename to pkg/universe.dagger.io/examples/helloworld/helloworld.cue index 4fbf1911..4fd7dc58 100644 --- a/pkg/universe.dagger.io/examples/helloworld/main.cue +++ b/pkg/universe.dagger.io/examples/helloworld/helloworld.cue @@ -5,17 +5,18 @@ // 9:06AM INF actions.hello | computing // 9:06AM INF actions.hello | #3 0.073 hello, world! // 9:06AM INF actions.hello | completed duration=100ms -package main +package helloworld import ( "dagger.io/dagger" + "dagger.io/dagger/core" ) dagger.#Plan & { actions: { - _alpine: dagger.#Pull & {source: "alpine:3"} + _alpine: core.#Pull & {source: "alpine:3"} // Hello world - hello: dagger.#Exec & { + hello: core.#Exec & { input: _alpine.output args: ["echo", "hello, world!"] always: true