CI: add webhook triggering quay.io

This commit is contained in:
Dominic 2024-05-26 12:18:17 +02:00
parent 8147ffd231
commit fad24597fd
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -0,0 +1,16 @@
name: Trigger quay.io Webhook
on:
push:
jobs:
run:
runs-on: alpine-latest
steps:
- run: |
apk add ca-certificates curl
curl -v -X POST --data '{
"commit": "${{forgejo.sha}}",
"ref": "${{forgejo.ref}}",
"default-branch": "main"
}' 'https://$token:${{secrets.quay_token}}@quay.io/webhooks/push/trigger/48d15dc7-ef9a-45bd-83e6-e1714c73dca6'