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:
1 parent
52ec290055
commit
2a7ac824f7
1 file changed
+1
@@ -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
|
||||
Reference in new issue
Block a user