Skip to content

Commit

Permalink
Fix circle-ci problem with TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
Warchant committed Mar 18, 2017
1 parent bd09c2a commit e01beca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ jobs:
- run:
name: build and push hyperledger/iroha-docker:$CIRCLE_BRANCH image
command: |
# tag consists of branch
export TAG=$CIRCLE_BRANCH
# replace all invalid characters to dots
TAG=$(echo $CIRCLE_BRANCH | sed "s/[^a-zA-Z0-9_\-\.]/./g")
export TAG=$TAG
# directory, where iroha build files will reside
export RELEASE=$IROHA_HOME/docker/tiny/iroha
mkdir -p $RELEASE/lib
Expand Down

0 comments on commit e01beca

Please sign in to comment.