summaryrefslogtreecommitdiffstats
path: root/.circleci/build.sh
blob: 7d476c85d12ee35f6107588797bc3db706743ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -euf -o pipefail

docker build \
    --build-arg CI="$CI" \
    --build-arg CIRCLE_SHA1="$CIRCLE_SHA1" \
    --build-arg CIRCLE_BUILD_URL="$CIRCLE_BUILD_URL" \
    -t bmo .

docker run --name bmo --entrypoint true bmo
docker cp bmo:/app/version.json build_info/version.json