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: {
|
#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