Merge pull request #1923 from gerhard/fix-helloworld-post-dagger-core-package

Fix helloworld post dagger core package rename
This commit is contained in:
Gerhard Lazu 2022-03-29 19:44:32 +01:00 committed by GitHub
commit 35ad32eb4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,17 +5,18 @@
// 9:06AM INF actions.hello | computing // 9:06AM INF actions.hello | computing
// 9:06AM INF actions.hello | #3 0.073 hello, world! // 9:06AM INF actions.hello | #3 0.073 hello, world!
// 9:06AM INF actions.hello | completed duration=100ms // 9:06AM INF actions.hello | completed duration=100ms
package main package helloworld
import ( import (
"dagger.io/dagger" "dagger.io/dagger"
"dagger.io/dagger/core"
) )
dagger.#Plan & { dagger.#Plan & {
actions: { actions: {
_alpine: dagger.#Pull & {source: "alpine:3"} _alpine: core.#Pull & {source: "alpine:3"}
// Hello world // Hello world
hello: dagger.#Exec & { hello: core.#Exec & {
input: _alpine.output input: _alpine.output
args: ["echo", "hello, world!"] args: ["echo", "hello, world!"]
always: true always: true