build: --build-arg on build, not up
This commit is contained in:
parent
539e1ea35e
commit
a2967210a3
@ -99,7 +99,9 @@ const build = async () => {
|
|||||||
flatten(tags.map(name => ['-t', `${NAMESPACE}/${name}`])),
|
flatten(tags.map(name => ['-t', `${NAMESPACE}/${name}`])),
|
||||||
'-f',
|
'-f',
|
||||||
dockerfile,
|
dockerfile,
|
||||||
'.'
|
'.',
|
||||||
|
'--build-arg',
|
||||||
|
`CIRCLE_BRANCH=${CIRCLE_BRANCH}`
|
||||||
]),
|
]),
|
||||||
{
|
{
|
||||||
stdio: 'inherit'
|
stdio: 'inherit'
|
||||||
|
Loading…
Reference in New Issue
Block a user