Skip to content

Commit

Permalink
Added triggers for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Apr 7, 2022
1 parent 6010f6e commit 691b5f8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-image-ki6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- ki6_*
repository_dispatch:
types: [build_k6]

jobs:
push_to_registry:
Expand Down Expand Up @@ -33,3 +35,7 @@ jobs:
push: true
tags: setsoft/kicad_debian:ki6
labels: ${{ steps.meta.outputs.labels }}

- name: Trigger KiCad-Auto image build
run: |
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_k6"}'
6 changes: 6 additions & 0 deletions .github/workflows/docker-image-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- n*
repository_dispatch:
types: [build_nightly]

jobs:
push_to_registry:
Expand Down Expand Up @@ -33,3 +35,7 @@ jobs:
push: true
tags: setsoft/kicad_debian:nightly
labels: ${{ steps.meta.outputs.labels }}

- name: Trigger KiCad-Auto image build
run: |
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_nightly"}'
6 changes: 6 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- b*
repository_dispatch:
types: [build_k5]

jobs:
push_to_registry:
Expand Down Expand Up @@ -33,3 +35,7 @@ jobs:
push: true
tags: setsoft/kicad_debian:latest
labels: ${{ steps.meta.outputs.labels }}

- name: Trigger KiCad-Auto image build
run: |
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_k5"}'

0 comments on commit 691b5f8

Please sign in to comment.