dagger spec: fix Artifact definition
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
b9bd250634
commit
1a3dc3debc
@ -6,10 +6,11 @@ import (
|
|||||||
|
|
||||||
// An artifact such as source code checkout, container image, binary archive...
|
// An artifact such as source code checkout, container image, binary archive...
|
||||||
// May be passed as user input, or computed by a buildkit pipeline
|
// May be passed as user input, or computed by a buildkit pipeline
|
||||||
#Artifact: #compute: [...llb.#Op]
|
#Artifact: {
|
||||||
|
#compute: [...llb.#Op]
|
||||||
// deprecated, use #Artifact instead.
|
_
|
||||||
#Dir: #Artifact
|
...
|
||||||
|
}
|
||||||
|
|
||||||
// Secret value
|
// Secret value
|
||||||
// FIXME: currently aliased as a string to mark secrets
|
// FIXME: currently aliased as a string to mark secrets
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
// Build a docker container image
|
// Build a docker container image
|
||||||
#Build: {
|
#Build: {
|
||||||
source: dagger.#Dir
|
source: dagger.#Artifact
|
||||||
|
|
||||||
image: #compute: [
|
image: #compute: [
|
||||||
llb.#DockerBuild & {context: source},
|
llb.#DockerBuild & {context: source},
|
||||||
|
Reference in New Issue
Block a user