Skip to content

Commit

Permalink
Separate docker compose build step with build-args
Browse files Browse the repository at this point in the history
  • Loading branch information
dklawren committed Dec 13, 2024
1 parent 1d8e142 commit e577a1d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ jobs:
- run:
name: build version.json and push data
command: |
docker-compose -f docker-compose.test.yml run --build \
--build-arg CIRCLE_SHA1="$CIRCLE_SHA1" --build-arg CIRCLE_BUILD_URL="$CIRCLE_BUILD_URL" \
--name push_data bmo.test push_data
docker-compose build --build-arg CIRCLE_SHA1="$CIRCLE_SHA1" --build-arg CIRCLE_BUILD_URL="$CIRCLE_BUILD_URL" bmo.test
docker-compose run --name push_data bmo.test push_data
docker cp push_data:/app/push_data/blog.push.txt build_info/blog.push.txt
docker cp push_data:/app/push_data/markdown.push.txt build_info/markdown.push.txt
docker cp push_data:/app/push_data/bug.push.txt build_info/bug.push.txt
Expand Down

0 comments on commit e577a1d

Please sign in to comment.