diff --git a/.circleci/config.yml b/.circleci/config.yml index acd1123651..4751c9982f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -161,8 +161,9 @@ jobs: docker-compose up -d docker-compose scale iroha=4 IP=$(docker inspect --format "{{ .NetworkSettings.Networks.iroha_private.IPAddress }}" $(docker ps -lq)) + TAG=$(echo $CIRCLE_BRANCH | sed "s/[^a-zA-Z0-9_\-\.]/./g") - #docker run --rm -it hyperledger/iroha-docker sh -c "/iroha/bin/issue_transaction AddAsset Asset " + docker run --rm -it hyperledger/iroha-docker:$TAG sh -c "/iroha/bin/add_peer key $(IP) ledger" docker stop $(docker ps -qln 4) docker rm $(docker ps -qln 4)