mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
script: update CI to bitcoind 22
This commit is contained in:
parent
859c6d7ac5
commit
56d00f40ef
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -16,7 +16,7 @@ env:
|
||||
# go needs absolute directories, using the $HOME variable doesn't work here.
|
||||
GOCACHE: /home/runner/work/go/pkg/build
|
||||
GOPATH: /home/runner/work/go
|
||||
BITCOIN_VERSION: 0.20.1
|
||||
BITCOIN_VERSION: "22.0"
|
||||
|
||||
# If you change this value, please change it in the following files as well:
|
||||
# /.travis.yml
|
||||
|
@ -26,7 +26,7 @@ go:
|
||||
env:
|
||||
global:
|
||||
- GOCACHE=$HOME/.go-build
|
||||
- BITCOIN_VERSION=0.20.1
|
||||
- BITCOIN_VERSION="22.0"
|
||||
|
||||
sudo: required
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
set -ev
|
||||
|
||||
BITCOIND_VERSION=${BITCOIN_VERSION:-0.20.1}
|
||||
BITCOIND_VERSION=${BITCOIN_VERSION:-22.0}
|
||||
|
||||
docker pull ruimarinho/bitcoin-core:$BITCOIND_VERSION
|
||||
CONTAINER_ID=$(docker create ruimarinho/bitcoin-core:$BITCOIND_VERSION)
|
||||
docker pull lightninglabs/bitcoin-core:$BITCOIND_VERSION
|
||||
CONTAINER_ID=$(docker create lightninglabs/bitcoin-core:$BITCOIND_VERSION)
|
||||
sudo docker cp $CONTAINER_ID:/opt/bitcoin-$BITCOIND_VERSION/bin/bitcoind /usr/local/bin/bitcoind
|
||||
docker rm $CONTAINER_ID
|
||||
|
Loading…
Reference in New Issue
Block a user