summaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-10-07 00:14:56 +0200
committerGitHub <noreply@github.com>2017-10-07 00:14:56 +0200
commit3e1b339cebc0f5259027e266f98f9b06f83f53a3 (patch)
tree7d090b7aee0721d4c7a848402844eba524671be5 /.circleci
parentbbfe30297f0a56d4d384f60e0ff20e7c67e08d7a (diff)
downloadbugzilla-3e1b339cebc0f5259027e266f98f9b06f83f53a3.tar.gz
bugzilla-3e1b339cebc0f5259027e266f98f9b06f83f53a3.tar.xz
Bug 1406239 - Pass CircleCI Environmental variables to docker build process
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml7
1 files changed, 6 insertions, 1 deletions
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 .