chore: trigger update homebrew tap on latest release (#7618)

This commit is contained in:
Silvan 2024-03-22 13:38:18 +01:00 committed by GitHub
parent c3cb010d2a
commit 5b301c7f96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,3 +73,24 @@ jobs:
docker buildx imagetools create \
--tag ${{ inputs.image_name }}:latest-debug \
${{ inputs.build_image_name }}-debug
homebrew-tap:
runs-on: ubuntu-22.04
needs: version
if: ${{ github.ref_name == 'next' }}
continue-on-error: true
steps:
- name: generate token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Trigger Homebrew
if: ${{ github.ref_name == 'next' }}
env:
VERSION: ${{ needs.version.outputs.version }}
RUN_ID: ${{ github.run_id }}
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
gh workflow run -R zitadel/homebrew-tap update.yml -f runId=${RUN_ID} -f version=${VERSION}