fix(docker): update internal npm registry url to gitea packages
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Successful in 2m10s
Build & Deploy / 🏗️ Build (push) Failing after 2m3s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-03-03 17:50:02 +01:00
parent 1c24822787
commit 39ea0a35dd

View File

@@ -25,8 +25,8 @@ COPY _at-mintel* /at-mintel/
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
--mount=type=secret,id=NPM_TOKEN \
export NPM_TOKEN=$(cat /run/secrets/NPM_TOKEN 2>/dev/null || echo $NPM_TOKEN) && \
echo "@mintel:registry=https://npm.infra.mintel.me" > /at-mintel/.npmrc && \
echo "//npm.infra.mintel.me/:_authToken=\${NPM_TOKEN}" >> /at-mintel/.npmrc && \
echo "@mintel:registry=https://git.infra.mintel.me/api/packages/mmintel/npm/" > /at-mintel/.npmrc && \
echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=\${NPM_TOKEN}" >> /at-mintel/.npmrc && \
cp /at-mintel/.npmrc .npmrc && \
cd /at-mintel && pnpm install --no-frozen-lockfile && pnpm build && \
cd /app && pnpm install --no-frozen-lockfile && \