Skip to content

Commit

Permalink
ci: trigger helm chart repo release pr after cli is published (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
blumamir authored May 14, 2024
1 parent 2b7b8fc commit 8265a5f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}

- name: Trigger Release PR in Odigos Charts
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.RELEASE_BOT_TOKEN }}" \
https://api.github.com/repos/odigos-io/odigos-charts/dispatches \
-d '{"event_type": "create_release_pr", "client_payload": {"tag": "${{ steps.extract_tag.outputs.tag }}"}}'

- uses: ko-build/setup-ko@v0.6

- name: publish cli image to docker registries
Expand Down

0 comments on commit 8265a5f

Please sign in to comment.