Skip to content

Add genesis challenge to get_network_info rpcs (#18000) #3397

Add genesis challenge to get_network_info rpcs (#18000)

Add genesis challenge to get_network_info rpcs (#18000) #3397

name: 📦🚀 Trigger Main Docker Build
on:
push:
paths-ignore:
- "**.md"
branches:
- main
concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true
permissions:
id-token: write
contents: read
jobs:
trigger:
name: Trigger building a new `main` tag for the chia-docker image
runs-on: ubuntu-latest
steps:
- uses: Chia-Network/actions/github/jwt@main
- name: Trigger docker main workflow via github-glue
run: |
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-main/${{ github.sha }}/start
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-main/${{ github.sha }}/success/build-main