mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 23:30:05 +02:00
build: force rm containers
This commit is contained in:
parent
190230de2f
commit
246cee7a8c
@ -139,7 +139,7 @@ const deploy = async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// rm containers
|
// rm containers
|
||||||
await execa('docker-compose', ['rm'], {
|
await execa('docker-compose', ['rm', '--force'], {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
env: Object.assign({}, env, {
|
env: Object.assign({}, env, {
|
||||||
COMPOSE_PROJECT_NAME
|
COMPOSE_PROJECT_NAME
|
||||||
@ -147,7 +147,7 @@ const deploy = async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// pull new images
|
// pull new images
|
||||||
await execa('docker-compose', ['pull'], {
|
await execa('docker-compose', ['pull', '--parallel'], {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
env: Object.assign({}, env, {
|
env: Object.assign({}, env, {
|
||||||
COMPOSE_PROJECT_NAME
|
COMPOSE_PROJECT_NAME
|
||||||
|
Loading…
Reference in New Issue
Block a user