Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook doesn't get triggered on Image push #22791

Closed
kimdre opened this issue Feb 6, 2023 · 0 comments · Fixed by #22806
Closed

Webhook doesn't get triggered on Image push #22791

kimdre opened this issue Feb 6, 2023 · 0 comments · Fixed by #22806

Comments

@kimdre
Copy link

kimdre commented Feb 6, 2023

Description

Whenever I push a new docker image to the package registry of my repository, the specified webhook doesn't get triggered.
I checked the "Package" checkbox in the custom events section and the image is indeed getting pushed to the registry when I watch the timestamp.
What I also noticed is, when I try to test the delivery with only "Package" checked, the test button does nothing. But when I change the radius input to either "All events" or "Push Events" the test button works fine and the history shows successful deliveries.

Is this a missconfiguration on my side or maybe a bug?
I want to trigger a GitOps Webhook after the image has been pushed to the registry so I guessed this is the right way.

Gitea Version

1.18.3

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image
image

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker Image from Docker Hub

Database

MySQL

@kimdre kimdre added the type/bug label Feb 6, 2023
lunny added a commit that referenced this issue Feb 18, 2023
Fixes #22791

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
yardenshoham pushed a commit to yardenshoham/gitea that referenced this issue Feb 18, 2023
Fixes go-gitea#22791

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
lunny added a commit that referenced this issue Feb 18, 2023
Backport #22806

Fixes #22791

---------

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants