Installation of the Composer Package hosted by Gitlab

I want to host a composer package on gitlab so you can install it with cli interface 'composer require …

What i am done?
I did this instruction to add the package: Composer packages in the Package Registry | GitLab

Now i want to install the package with composer but i get this error:

Maybe it is the .gitlab-ci.yml file, but what needs to be corrected here?

  - deploy

  stage: deploy
    - apk add curl
    - 'curl --header "Job-Token: $CI_JOB_TOKEN" --data tag=<tag> "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/composer"'

Thanks for taking the time and support! :blush: