Fix "docker build --file" (relative to "Directory")
This commit is contained in:
parent
edff514f3b
commit
1f5a50dd45
|
|
@ -82,7 +82,7 @@ for tag in $tags; do
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
+ if .file != "Dockerfile" then
|
+ if .file != "Dockerfile" then
|
||||||
[ "--file", (.file | @sh) ]
|
[ "--file", ((.directory + "/" + .file) | @sh) ]
|
||||||
else
|
else
|
||||||
[]
|
[]
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue