Skip to content

Enable consensus handler v2 (#23968) #292

Enable consensus handler v2 (#23968)

Enable consensus handler v2 (#23968) #292

name: Trigger pre-build images for Sui commits
on:
workflow_dispatch:
push:
branches:
- 'main'
- 'devnet'
- 'testnet'
- 'mainnet'
- 'releases/sui-*-release'
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
prebuild-sui-images:
runs-on: ubuntu-latest
steps:
- name: Dispatch Pre-build Images in MystenLabs/sui-operations
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # pin@v3.0.0
with:
repository: MystenLabs/sui-operations
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }}
event-type: prebuild-sui-images
client-payload: >
{
"sui_commit": "${{ github.sha }}",
"caller_name": "sui_repo_${{ github.ref_name }}",
"push_to_dockerhub": true,
"build_arm64": ${{ github.ref_name != 'main' && (github.ref_name == 'devnet' || github.ref_name == 'testnet' || github.ref_name == 'mainnet' || (startsWith(github.ref_name, 'releases/sui-') && endsWith(github.ref_name, '-release'))) }},
"graphql_rpc": true,
"indexer_alt": true,
"stress": true
}