Merge pull request #967 from VazeeKevin/tasks/docker-build-args
stdlib/docker: Add args option to Docker #Build
This commit is contained in:
commit
4d45e269e0
@ -10,9 +10,14 @@ import (
|
|||||||
#Build: {
|
#Build: {
|
||||||
source: dagger.#Input & {dagger.#Artifact}
|
source: dagger.#Input & {dagger.#Artifact}
|
||||||
|
|
||||||
|
args?: [string]: string
|
||||||
|
|
||||||
#up: [
|
#up: [
|
||||||
op.#DockerBuild & {
|
op.#DockerBuild & {
|
||||||
context: source
|
context: source
|
||||||
|
if args != _|_ {
|
||||||
|
buildArg: args
|
||||||
|
}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user