How can I trigger a pipeline or an external service by an upload to a GitLab package registry?

GitLab pipelines can be triggered by a lot of events, the most common being pushes to a git repo.
I want to trigger pipelines also by uploads to a package registry.
If there is no way to do so: is there any way to hook into package registries, so that an external service could be called?
I browsed documentation

but couldn’t find anything related to package registries.
Is there any way to achieve my goal?

My company operates a self-managed GitLab instance, version 16.9.

1 Like

I think you can’t automatically trigger pipelines with the events in your package registry in the new versions of Gitlab.

You could maybe use the API to write a script that automates that.