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 - setup_remote_docker
- run: - run:
name: Replace version in config 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: - 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} .