circleci: Fix sed command hopefully

This commit is contained in:
Jonatan Nilsson 2019-10-01 03:47:25 +00:00
parent eaf2edd6c3
commit 820bf17487

View file

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