18 lines
534 B
YAML
18 lines
534 B
YAML
name: Trigger quay.io Webhook
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
run:
|
|
runs-on: alpine-latest
|
|
steps:
|
|
- run: |
|
|
apk add ca-certificates curl
|
|
curl -D - --fail-with-body -X POST -H 'Content-Type: application/json' --data '{
|
|
"commit": "${{github.sha}}",
|
|
"ref": "${{github.ref}}",
|
|
"default_branch": "main"
|
|
}' 'https://$token:${{secrets.quay_token}}@quay.io/webhooks/push/trigger/f21fe844-3a4b-43b0-a92f-7871d7d7ea68'
|
|
shell: ash -eo pipefail {0}
|