stdlib: dagger.io/docker.#Build

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes 2021-05-01 07:14:36 +00:00
parent 62eedd6470
commit a1e6570232

View File

@ -6,7 +6,7 @@ import (
) )
// Build a Docker image from source, using included Dockerfile // Build a Docker image from source, using included Dockerfile
#ImageFromSource: { #Build: {
source: dagger.#Artifact source: dagger.#Artifact
#up: [ #up: [
@ -14,8 +14,13 @@ import (
context: source context: source
}, },
] ]
} }
// Build a Docker image from source, using included Dockerfile
// FIXME: DEPRECATED by #Build
#ImageFromSource: #Build
// Fetch an image from a remote registry // Fetch an image from a remote registry
#ImageFromRegistry: { #ImageFromRegistry: {
ref: string ref: string