CI: add webhook triggering quay.io
This commit is contained in:
parent
8147ffd231
commit
fad24597fd
1 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/webhook.yml
Normal file
16
.forgejo/workflows/webhook.yml
Normal 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'
|
Loading…
Reference in a new issue