From a2967210a3dcf6758e91ab2ec3e52e99985a6fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 1 Jun 2017 12:35:55 +0100 Subject: [PATCH] build: --build-arg on build, not up --- scripts/deploy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/deploy b/scripts/deploy index 3e62a63a..6a66f282 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -99,7 +99,9 @@ const build = async () => { flatten(tags.map(name => ['-t', `${NAMESPACE}/${name}`])), '-f', dockerfile, - '.' + '.', + '--build-arg', + `CIRCLE_BRANCH=${CIRCLE_BRANCH}` ]), { stdio: 'inherit'