Send push event header to GitOps webhook
build / build-push (push) Successful in 34s

The post-build webhook returned success while ignoring the delivery because it omitted X-Gitea-Event: push. As a result, GitSource kept the prior revision and the published console image was never reconciled. Add the event header so the signed notification is queued only after the image has been published.
This commit is contained in:
mats committed 2026-09-27 22:53:45 +02:00
1 parent 52ec290055
commit 2a7ac824f7
1 file changed
+1
+1
View File
@@ -40,6 +40,7 @@ jobs:
curl --fail --silent --show-error \
-X POST \
-H "Content-Type: application/json" \
-H "X-Gitea-Event: push" \
-H "X-Gitea-Signature: $signature" \
--data-binary "@$payload" \
https://ui.k6n.net/api/gitops/webhooks/gitea