1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +02:00

build: change docker build param order

This commit is contained in:
Sérgio Ramos 2017-06-01 12:53:04 +01:00
parent a2967210a3
commit 53bec9df41

View File

@ -99,9 +99,9 @@ const build = async () => {
flatten(tags.map(name => ['-t', `${NAMESPACE}/${name}`])), flatten(tags.map(name => ['-t', `${NAMESPACE}/${name}`])),
'-f', '-f',
dockerfile, dockerfile,
'.',
'--build-arg', '--build-arg',
`CIRCLE_BRANCH=${CIRCLE_BRANCH}` `CIRCLE_BRANCH=${CIRCLE_BRANCH}`,
'.'
]), ]),
{ {
stdio: 'inherit' stdio: 'inherit'