From 33bca3c2bdbbedf60cfc591dc9404ca5225c80d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Mon, 19 Jun 2017 18:59:09 +0100 Subject: [PATCH] build: remove --build-arg from docker-compose --- scripts/deploy | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/scripts/deploy b/scripts/deploy index 1f25cd06..eb9924a8 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -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 () => {