diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.yml index ec353909ae486..dd8b8b039689c 100644 --- a/.github/workflows/container-images-cd.yml +++ b/.github/workflows/container-images-cd.yml @@ -103,16 +103,22 @@ jobs: - name: Trigger Ingestion Cloud deployment if: steps.check_changes_plugins.outputs.changed == 'true' - uses: mvasigh/dispatch-action@main + uses: peter-evans/repository-dispatch@v3 with: token: ${{ steps.deployer.outputs.token }} - repo: charts - owner: PostHog - event_type: ingestion_deploy - message: | + repository: PostHog/charts + event-type: commit_state_update + client-payload: | { - "image_tag": "${{ steps.build.outputs.digest }}", - "context": ${{ toJson(github) }} + "values": { + "image": { + "sha": "${{ steps.build.outputs.digest }}" + } + }, + "release": "ingestion", + "commit": ${{ toJson(github.event.head_commit) }}, + "repository": ${{ toJson(github.repository) }}, + "labels": ${{ steps.labels.outputs.labels }} } - name: Check for changes that affect batch exports temporal worker