2024-05-26 12:18:17 +02:00
|
|
|
name: Trigger quay.io Webhook
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-06-23 17:53:55 +02:00
|
|
|
branches: [main]
|
2024-05-26 12:18:17 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
|
|
|
runs-on: alpine-latest
|
|
|
|
steps:
|
|
|
|
- run: |
|
2024-05-26 12:19:22 +02:00
|
|
|
apk add ca-certificates curl
|
2024-05-26 12:34:48 +02:00
|
|
|
curl -D - --fail-with-body -X POST -H 'Content-Type: application/json' --data '{
|
2024-05-26 12:21:54 +02:00
|
|
|
"commit": "${{github.sha}}",
|
|
|
|
"ref": "${{github.ref}}",
|
2024-05-26 12:37:56 +02:00
|
|
|
"default_branch": "main"
|
2024-05-26 12:34:48 +02:00
|
|
|
}' 'https://$token:${{secrets.quay_token}}@quay.io/webhooks/push/trigger/f21fe844-3a4b-43b0-a92f-7871d7d7ea68'
|
2024-05-26 12:20:07 +02:00
|
|
|
shell: ash -eo pipefail {0}
|