circleci: Remove original file after sed
This commit is contained in:
parent
595b3a1199
commit
924533a0f5
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ jobs:
|
||||||
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 .org "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} .
|
||||||
|
|
Loading…
Reference in a new issue