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'