Skip to content

Commit

Permalink
ci: add webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Aug 30, 2024
1 parent 6d5ff41 commit 9bfc70a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

UPDATE_WEBHOOK: ${{ env.UPDATE_WEBHOOK }}

jobs:
build-and-push-image:
Expand Down Expand Up @@ -53,3 +53,7 @@ jobs:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

- name: Notify via webhook
run: |
curl -XPOST "${{ env.UPDATE_WEBHOOK }}"

0 comments on commit 9bfc70a

Please sign in to comment.