[cherry-pick][indexer] Cherry-pick to v1.28.0-release
branch: Fix i…
#1
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
name: Trigger builds for images and binaries | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'devnet' | |
- 'testnet' | |
- 'mainnet' | |
- 'releases/sui-*-release' | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
docker-images: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.ref, 'sui-graphql-rpc') }} | |
steps: | |
- name: Dispatch Docker Builds in MystenLabs/sui-operations | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # [email protected] | |
with: | |
repository: MystenLabs/sui-operations | |
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }} | |
event-type: build-docker-images | |
client-payload: '{"sui_commit": "${{ github.sha }}", "docker_hub_tag": "${{ github.ref }}"}' | |
release-binaries: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.ref, 'sui-graphql-rpc') }} | |
steps: | |
- name: Dispatch Release binaries builds in MystenLabs/sui-operations | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # [email protected] | |
with: | |
repository: MystenLabs/sui-operations | |
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }} | |
event-type: build-release-binaries | |
client-payload: '{"sui_commit": "${{ github.sha }}"}' | |
graphql-artifacts: | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.ref, 'sui-graphql-rpc') }} | |
steps: | |
- name: Dispatch GraphQl artifact builds in MystenLabs/sui-operations | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # [email protected] | |
with: | |
repository: MystenLabs/sui-operations | |
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }} | |
event-type: build-graphql-artifacts | |
client-payload: '{"sui_commit": "${{ github.sha }}", "docker_hub_tag": "${{ github.ref }}"}' |