title: GitLab package registry Nuget packages per group
body: <p>In my GitLab I have a multiple dotnet core projects (plugins) placed under a group named <code>Plugins</code>, in each one of these projects I added a <code>CI</code> steps to pack them in nuget packages and push them to the GitLab package registry. I followed the documentation : <a href="https://docs.gitlab.com/ee/user/packages/nuget_repository/index.html" rel="nofollow noreferrer">https://docs.gitlab.com/ee/user/packages/nuget_repository/index.html</a> and in the <code>.gitlab-ci.yaml</code> I placed this config :</p>
  <pre><code>image: mcr.microsoft.com/dotnet/sdk:5.0
  
  stages:
    - deploy
  
  deploy:
    stage: deploy
    script:
      - dotnet pack -c Release
      - dotnet nuget add source &quot;$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json&quot; --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text
      - dotnet nuget push &quot;bin/Release/*.nupkg&quot; --source gitlab
    only:
      - master
  </code></pre>
  <p>but instead of adding a project level source (which is working for me)<code>&quot;$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json&quot;</code>
  I replaced it to group level endpoint <code>&quot;$CI_SERVER_URL/api/v4/groups/{group-id}/-/packages/nuget/index.json&quot;</code> with a deploy token for the authentication because I wanted to have one source for all projects under that group, it shows this error each time the nuget cmd try to push the package</p>
  <blockquote>
  <p>error: ERROR: This version of nuget.exe does not support updating packages to package source my-source</p>
  </blockquote>
  <p>any ideas?</p>