Packages and releases / missing link

I think i’m missing something on the packages functionality in gitlab

My release flow in most of my projects

  • i create a tag (from a release or not)
  • a gitlab-ci build runs with some tag-specific stuff
  • most namely it creates an build artifact that is published as package (maven, docker or generic)

In the package details i “can see” that it’s created by a Pipeline but i can’t correctly link that package back to the release

  • there is no “Package created” webhook event containing details
  • the build creating the package only gets back “message”: “201 Created” on the PUT API (no packageId to expose as variable)
  • the Package API itself cannot search on ‘version’ to correctly retrieve the correct package (only list all packages or by packageId)

Am i missing something?

1 Like