diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..77648aa7 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,16 @@ +name: docker_publish + +on: + push: + paths: + - 'contrib/images/bitcoindsim/**' + +jobs: + docker_pipeline: + needs: [] + uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.7.0 + secrets: inherit + with: + publish: true + dockerfile: ./contrib/images/bitcoindsim/Dockerfile + repoName: bitcoindsim \ No newline at end of file diff --git a/contrib/images/bitcoindsim/wrapper.sh b/contrib/images/bitcoindsim/wrapper.sh index 75836921..65ad7a1a 100755 --- a/contrib/images/bitcoindsim/wrapper.sh +++ b/contrib/images/bitcoindsim/wrapper.sh @@ -23,7 +23,7 @@ if [[ ! -d "$BITCOIN_DATA" ]]; then fi echo "Generating bitcoin.conf file at $BITCOIN_CONF" if [[ "$BITCOIN_NETWORK" == "testnet" ]]; then - NETWORK_LABEL="test" + NETWORK_LABEL="test" # Testnet3 else NETWORK_LABEL="$BITCOIN_NETWORK" fi