Improve examples using go & docker stdlib packages

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-03-12 23:08:40 +00:00
parent be64c1576b
commit 1f874025aa
5 changed files with 51 additions and 122 deletions

View File

@@ -1,17 +1,15 @@
package main
import (
"dagger.io/dagger"
"dagger.io/netlify"
"dagger.io/yarn"
"dagger.io/git"
)
repository: #compute: [
dagger.#FetchGit & {
remote: "https://github.com/kabirbaidhya/react-todo-app.git"
ref: "624041b17bd62292143f99bce474a0e3c2d2dd61"
},
]
repository: git.#Repository & {
remote: "https://github.com/kabirbaidhya/react-todo-app.git"
ref: "624041b17bd62292143f99bce474a0e3c2d2dd61"
}
todoApp: netlify.#Site & {
account: {