build: remove --build-arg from docker-compose

This commit is contained in:
Sérgio Ramos 2017-06-19 18:59:09 +01:00
parent d9d5e6be4e
commit 33bca3c2bd
1 changed files with 6 additions and 17 deletions

View File

@ -156,23 +156,12 @@ const deploy = async () => {
});
// up project
return execa(
'docker-compose',
[
'up',
'-d',
'--build',
'--force-recreate',
'--build-arg',
`CIRCLE_BRANCH=${process.env.CIRCLE_BRANCH}`
],
{
stdio: 'inherit',
env: Object.assign({}, env, {
COMPOSE_PROJECT_NAME
})
}
);
return execa('docker-compose', ['up', '-d', '--build', '--force-recreate'], {
stdio: 'inherit',
env: Object.assign({}, env, {
COMPOSE_PROJECT_NAME
})
});
};
const run = async () => {