Registry 404 project not found on docker build

Hi, I start use a gitlab registry npm

I can publish my package and install on my local env, but when I try run docker build don’t work and return me a 404 project not found

I have a correct .npmrc on container and the npm token, but don’t work.

Looking the logs I find the url try to get the package it’s<id>/packages/npm/@<org>/<name>/-/@<org>/<name>-<version>.tgz

On request api to get info about the package on dist.tarball value match with the url on log.

Tnkns :grin:

To be sure, does the publish work when used via CI, but outside of a docker build?

Within the Dockerfile build execution, have you verified if the npm command receives, and picks up the correct credentials passed to it?