From 3e1b339cebc0f5259027e266f98f9b06f83f53a3 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 6 Oct 2017 18:14:56 -0400 Subject: Bug 1406239 - Pass CircleCI Environmental variables to docker build process --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index de289a3c5..f13b10a58 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,12 @@ jobs: name: install git and ssh command: apk update && apk add git openssh-client - checkout - - run: docker build -t bmo . + - run: | + docker build \ + --build-arg CI="$CI" \ + --build-arg CIRCLE_SHA1="$CIRCLE_SHA1" \ + --build-arg CIRCLE_BUILD_NUM="$CIRCLE_BUILD_NUM" \ + -t bmo . - deploy: command: | docker build -t bmo . -- cgit v1.2.3-24-g4f1b