-
Notifications
You must be signed in to change notification settings - Fork 2k
37 lines (32 loc) · 1.05 KB
/
trigger-docker-main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 📦🚀 Trigger Main Docker Build
on:
push:
paths-ignore:
- "**.md"
branches:
- main
concurrency:
group: ${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow_ref, github.event.pull_request.number) || github.run_id }}
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:
- name: Trigger docker main workflow via github-glue
uses: Chia-Network/actions/github/glue@main
with:
json_data: "{}"
glue_url: "${{ secrets.GLUE_API_URL }}"
glue_project: "docker-build-main/${{ github.sha }}"
glue_path: "start"
- name: Trigger docker main success via github-glue
uses: Chia-Network/actions/github/glue@main
with:
json_data: "{}"
glue_url: "${{ secrets.GLUE_API_URL }}"
glue_project: "docker-build-main/${{ github.sha }}"
glue_path: "success/build-main"