Skip to content

Commit

Permalink
Add optional argument to deploy script to pass specific container ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
the-frey committed Dec 21, 2021
1 parent cdc6b7b commit bac732f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/deploy_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ fi
# this rather assumes you're using juno bootstrap script
# this script takes an address to use inside the container
# you get this address when running the juno bootstrap - it will be logged
IMAGE_TAG="v2.1.0"
IMAGE_TAG=${2:-"v2.1.0"}
CONTAINER_NAME="juno_whoami"
BINARY="docker exec -i $CONTAINER_NAME junod"
DENOM='ujunox'
CHAIN_ID='testing'
RPC='http://localhost:26657/'
TXFLAG="--gas-prices 0.1$DENOM --gas auto --gas-adjustment 1.5 -y -b block --chain-id $CHAIN_ID --node $RPC"

echo "Building $IMAGE_TAG"

# kill any orphans
docker kill $CONTAINER_NAME
docker volume rm -f junod_data
Expand Down

0 comments on commit bac732f

Please sign in to comment.