Skip to content

Commit

Permalink
feat: add a ci workflow to publish the bitcoinsim image
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterli committed Oct 18, 2024
1 parent 83bb274 commit 8911f33
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: docker_publish

on:
push:
paths:
- 'contrib/images/bitcoindsim/**'

jobs:
docker_pipeline:
needs: []
uses: babylonlabs-io/.github/.github/workflows/[email protected]
secrets: inherit
with:
publish: true
dockerfile: ./contrib/images/bitcoindsim/Dockerfile
repoName: bitcoindsim
2 changes: 1 addition & 1 deletion contrib/images/bitcoindsim/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8911f33

Please sign in to comment.