2024-05-26 10:18:17 +00:00
|
|
|
name: Trigger quay.io Webhook
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
|
|
|
runs-on: alpine-latest
|
|
|
|
steps:
|
|
|
|
- run: |
|
2024-05-26 10:19:22 +00:00
|
|
|
apk add ca-certificates curl
|
|
|
|
curl -v -X POST --data '{
|
2024-05-26 10:21:54 +00:00
|
|
|
"commit": "${{github.sha}}",
|
|
|
|
"ref": "${{github.ref}}",
|
2024-05-26 10:19:22 +00:00
|
|
|
"default-branch": "main"
|
|
|
|
}' 'https://$token:${{secrets.quay_token}}@quay.io/webhooks/push/trigger/48d15dc7-ef9a-45bd-83e6-e1714c73dca6'
|
2024-05-26 10:20:07 +00:00
|
|
|
shell: ash -eo pipefail {0}
|