Skip to content

Commit

Permalink
(ci) trigger oidc-gateway edge channel (#587)
Browse files Browse the repository at this point in the history
* (ci) add oidc gateway trigger

* move job to top level

* (ci) use repo dispatch instead

* (ci) use couperbot token

* update curl cmd
  • Loading branch information
Marcel Ludwig authored Sep 13, 2022
1 parent eac6866 commit 6508ddd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,13 @@ jobs:
oidc:
needs:
- build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
uses: avenga/couper-oidc-gateway/.github/workflows/release.yaml@master
with:
version: 'edge'
steps:
- run: |
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_COUPER_API_TOKEN }}" \
https://api.github.com/repos/avenga/couper-oidc-gateway/dispatches \
-d '{"event_type": "edge-build"}'

0 comments on commit 6508ddd

Please sign in to comment.