circleci: Final fix for sed

This commit is contained in:
Jonatan Nilsson 2019-10-01 03:53:36 +00:00
parent 924533a0f5
commit 97a5db96e6

View file

@ -19,8 +19,7 @@ jobs:
- run: - run:
name: Replace version in config name: Replace version in config
command: | command: |
sed -i .org "s/circleci_version_number/${CIRCLE_BUILD_NUM}/g" config/config.default.json sed -i "s/circleci_version_number/${CIRCLE_BUILD_NUM}/g" config/config.default.json
rm config/config/config.default.json.org
- run: - run:
name: Build docker image name: Build docker image
command: docker build -t ${di}:build_${CIRCLE_BUILD_NUM} -t ${di}:${CIRCLE_SHA1} -t ${di}:${dtag} . command: docker build -t ${di}:build_${CIRCLE_BUILD_NUM} -t ${di}:${CIRCLE_SHA1} -t ${di}:${dtag} .