Zebra 1.1.0 #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is meant to trigger a build of Docker binaries when a release | |
# is published, it uses the existing `build-docker-image.yml` workflow | |
# | |
# We use a separate action as we might want to trigger this under | |
# different circumstances than a Continuous Deployment, for example. | |
# | |
# This workflow is triggered if: | |
# - A release is published | |
# - A pre-release is changed to a release | |
name: Release binaries | |
on: | |
release: | |
types: | |
- released | |
jobs: | |
# Each time this workflow is executed, a build will be triggered to create a new image | |
# with the corresponding tags using information from git | |
# The image will be named `zebra:<semver>` | |
build: | |
name: Build Release Docker | |
uses: ./.github/workflows/build-docker-image.yml | |
with: | |
dockerfile_path: ./docker/Dockerfile | |
dockerfile_target: runtime | |
image_name: zebra | |
network: Mainnet | |
rust_backtrace: '1' | |
zebra_skip_ipv6_tests: '1' | |
rust_log: info | |
# This step needs access to Docker Hub secrets to run successfully | |
secrets: inherit | |
# The image will be named `zebra:<semver>.experimental` | |
build-mining-testnet: | |
name: Build Release Testnet Mining Docker | |
uses: ./.github/workflows/build-docker-image.yml | |
with: | |
dockerfile_path: ./docker/Dockerfile | |
dockerfile_target: runtime | |
image_name: zebra | |
tag_suffix: .experimental | |
network: Testnet | |
rpc_port: '18232' | |
features: "default-release-binaries getblocktemplate-rpcs" | |
test_features: "" | |
rust_backtrace: '1' | |
zebra_skip_ipv6_tests: '1' | |
rust_log: info | |
# This step needs access to Docker Hub secrets to run successfully | |
secrets: inherit |