Deploy on testnet0 only if we are in the master branch
This commit is contained in:
parent
a9314f1c05
commit
63afc9fd36
|
@ -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)
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue