Add args option to Docker #Build
Signed-off-by: Kevin Poirot <kevin@vazee.fr>
This commit is contained in:
parent
af1d06f503
commit
924fd163eb
@ -10,9 +10,14 @@ import (
|
||||
#Build: {
|
||||
source: dagger.#Input & {dagger.#Artifact}
|
||||
|
||||
args?: [string]: string
|
||||
|
||||
#up: [
|
||||
op.#DockerBuild & {
|
||||
context: source
|
||||
if args != _|_ {
|
||||
buildArg: args
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user