mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
build: remove --build-arg from docker-compose
This commit is contained in:
parent
d9d5e6be4e
commit
33bca3c2bd
@ -156,23 +156,12 @@ const deploy = async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// up project
|
// up project
|
||||||
return execa(
|
return execa('docker-compose', ['up', '-d', '--build', '--force-recreate'], {
|
||||||
'docker-compose',
|
stdio: 'inherit',
|
||||||
[
|
env: Object.assign({}, env, {
|
||||||
'up',
|
COMPOSE_PROJECT_NAME
|
||||||
'-d',
|
})
|
||||||
'--build',
|
});
|
||||||
'--force-recreate',
|
|
||||||
'--build-arg',
|
|
||||||
`CIRCLE_BRANCH=${process.env.CIRCLE_BRANCH}`
|
|
||||||
],
|
|
||||||
{
|
|
||||||
stdio: 'inherit',
|
|
||||||
env: Object.assign({}, env, {
|
|
||||||
COMPOSE_PROJECT_NAME
|
|
||||||
})
|
|
||||||
}
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const run = async () => {
|
const run = async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user