Rename dagger.#Dir to dagger.#Artifact

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-03-13 06:29:37 +00:00
parent 3ce985b594
commit 6460a5c9fc
8 changed files with 15 additions and 12 deletions

View File

@@ -1,8 +1,11 @@
package dagger
// Any component can be referenced as a directory, since
// every dagger script outputs a filesystem state (aka a directory)
#Dir: #compute: [...#Op]
// An artifact such as source code checkout, container image, binary archive...
// May be passed as user input, or computed by a buildkit pipeline
#Artifact: #compute: [...#Op]
// deprecated, use #Artifact instead.
#Dir: #Artifact
// Secret value
// FIXME: currently aliased as a string to mark secrets