Deploy on testnet0 only if we are in the master branch

This commit is contained in:
Zahary Karadjov 2019-08-08 15:46:17 +03:00
parent a9314f1c05
commit 63afc9fd36
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
GIT_REVISION ?= $(git rev-parse HEAD)
NETWORK ?= testnet1
NETWORK_TYPE ?= libp2p_spec
NETWORK_TYPE ?= libp2p
IMAGE_TAG ?= $(NETWORK)
IMAGE_NAME ?= statusteam/nimbus_beacon_node:$(IMAGE_TAG)

View File

@ -8,8 +8,8 @@ export GIT_REVISION=$(git rev-parse HEAD)
NETWORK=testnet1
if [[ $(git rev-parse --abbrev-ref HEAD) == "devel" ]]; then
NETWORK=testnet1
if [[ $(git rev-parse --abbrev-ref HEAD) == "master" ]]; then
NETWORK=testnet0
fi
buildAndPush() {
@ -20,5 +20,5 @@ buildAndPush() {
}
# buildAndPush $NETWORK rlpx
buildAndPush $NETWORK libp2p_spec
buildAndPush $NETWORK libp2p

@ -1 +1 @@
Subproject commit e8ca67fc9a2ebd60c8ab08c9cdcf5c7ecdbd0c5d
Subproject commit 1704d26c930ebd61184d098fa08f5223d6313bf6