examples/jamstack: use a inputs.yaml instead of cue code

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-04-27 12:11:33 -07:00
parent 46aa2877ab
commit 56926a7fed
5 changed files with 55 additions and 77 deletions

View File

@@ -3,12 +3,13 @@ package main
import (
"dagger.io/dagger"
"dagger.io/aws/ecs"
"dagger.io/git"
)
// Backend configuration
backend: {
// Source code to build this container
source: dagger.#Artifact
source: git.#Repository | dagger.#Artifact
// Container environment variables
environment: [string]: string