Skip to content

CHIA-765 Add the ability to set a fee in make_item #19311

CHIA-765 Add the ability to set a fee in make_item

CHIA-765 Add the ability to set a fee in make_item #19311

name: 📦🚀 Trigger Dev Docker Build
on:
push:
paths-ignore:
- "**.md"
branches:
- "long_lived/**"
- "release/**"
pull_request:
paths-ignore:
- "**.md"
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 dev tag for the chia-docker image
runs-on: ubuntu-latest
steps:
- name: Test for secrets access
id: check_secrets
shell: bash
run: |
unset HAS_SECRET
if [ -n "$GLUE_API_URL" ]; then HAS_SECRET='true' ; fi
echo HAS_SECRET=${HAS_SECRET} >> "$GITHUB_OUTPUT"
env:
GLUE_API_URL: "${{ secrets.GLUE_API_URL }}"
- uses: Chia-Network/actions/github/jwt@main
if: steps.check_secrets.outputs.HAS_SECRET
- name: Trigger docker dev workflow via github-glue
if: steps.check_secrets.outputs.HAS_SECRET
run: |
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"sha":"${{ github.sha }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-dev/${{ github.sha }}/start
curl -s -XPOST -H "Authorization: Bearer ${{ env.JWT_TOKEN }}" --data '{"sha":"${{ github.sha }}"}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-dev/${{ github.sha }}/success/build-dev