Trying to post generic package to registry give content type error

Trying to post generic package as a test with the instruction provided by GitLab Generic Packages Repository | GitLab results in content type errors using curl.

curl --header “PRIVATE-TOKEN: xxxxxxxxxxxxxxxxxx --header Content-Type: application/zip-compressed” --upload-file /home/ggiacalone/ “

I have tried all four zip content types

The token has been replaced with x placeholder and well as the group id.

Please advise
thank you


AFAIK, there is no package repository on group level. You must have a project inside a group and push to the project’s package repository.

1 Like

Thank you that worked…