diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b57d8cbf0..429b091711 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ defaults: shell: bash env: - BITCOIN_VERSION: "26" + BITCOIN_VERSION: "27" # If you change this value, please change it in the following files as well: # /.travis.yml diff --git a/scripts/install_bitcoind.sh b/scripts/install_bitcoind.sh index 5c655a63d4..b4faa4becd 100755 --- a/scripts/install_bitcoind.sh +++ b/scripts/install_bitcoind.sh @@ -10,7 +10,7 @@ if [ -z "$BITCOIND_VERSION" ]; then exit 1 fi -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.0/bin/bitcoind /usr/local/bin/bitcoind +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}.0/bin/bitcoind /usr/local/bin/bitcoind docker rm $CONTAINER_ID