From c0524722e4459805c02d3b8de4a2ee87c531d1f9 Mon Sep 17 00:00:00 2001 From: LucaZanni Date: Tue, 4 Aug 2026 09:42:23 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(ci):=20allinea=20a=20PZeta?= =?UTF-8?q?=5FTouch=20il=20registry=20npm=20dei=20workflow=20riusabili?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .gitea/workflows/*.yml: il registry @pzeta scritto in ~/.npmrc passa da `pzeta_touch` a `PZeta_Touch` (12 file, 24 righe). E' la stessa causa dei Dockerfile: i package-lock.json della flotta risolvono i tarball su `.../api/packages/PZeta_Touch/npm/`, npm confronta gli URL come stringhe e con la grafia minuscola tratta il pacchetto come tarball remota (EALLOWREMOTE da npm 11) e non applica il _authToken - e' il punto di massima leva: quality-gates.yml e docker-release.yml sono chiamati via `uses:` da 51 repo `node-*` ed eseguono `npm ci` sul runner PRIMA di `docker build`, quindi la release si ferma li' anche con il Dockerfile gia' corretto - il REGISTRY delle immagini (`gitea.pzetatouch.it/pzeta_touch`) resta minuscolo: i nomi dei repository Docker devono esserlo, ed e' la grafia usata dai defaults di flux-repo refs PZeta_Touch/flux-repo#129 @45m --- .gitea/workflows/capacitor-android-github.yml | 4 ++-- .gitea/workflows/capacitor-android.yml | 4 ++-- .gitea/workflows/dependency-check-github.yml | 4 ++-- .gitea/workflows/dependency-check.yml | 4 ++-- .gitea/workflows/dependency-outdated-github.yml | 4 ++-- .gitea/workflows/dependency-outdated.yml | 4 ++-- .gitea/workflows/docker-release-github.yml | 4 ++-- .gitea/workflows/docker-release.yml | 4 ++-- .gitea/workflows/npm-publish-github.yml | 4 ++-- .gitea/workflows/npm-publish.yml | 4 ++-- .gitea/workflows/quality-gates-github.yml | 4 ++-- .gitea/workflows/quality-gates.yml | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.gitea/workflows/capacitor-android-github.yml b/.gitea/workflows/capacitor-android-github.yml index 5716566..dd003cf 100644 --- a/.gitea/workflows/capacitor-android-github.yml +++ b/.gitea/workflows/capacitor-android-github.yml @@ -75,8 +75,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Read app info from package.json id: app-info diff --git a/.gitea/workflows/capacitor-android.yml b/.gitea/workflows/capacitor-android.yml index 810631c..4610377 100644 --- a/.gitea/workflows/capacitor-android.yml +++ b/.gitea/workflows/capacitor-android.yml @@ -75,8 +75,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Read app info from package.json id: app-info diff --git a/.gitea/workflows/dependency-check-github.yml b/.gitea/workflows/dependency-check-github.yml index e675d64..cf4407f 100644 --- a/.gitea/workflows/dependency-check-github.yml +++ b/.gitea/workflows/dependency-check-github.yml @@ -37,8 +37,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/dependency-check.yml b/.gitea/workflows/dependency-check.yml index d20db42..eac9194 100644 --- a/.gitea/workflows/dependency-check.yml +++ b/.gitea/workflows/dependency-check.yml @@ -37,8 +37,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/dependency-outdated-github.yml b/.gitea/workflows/dependency-outdated-github.yml index f2238dd..86f18c3 100644 --- a/.gitea/workflows/dependency-outdated-github.yml +++ b/.gitea/workflows/dependency-outdated-github.yml @@ -37,8 +37,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/dependency-outdated.yml b/.gitea/workflows/dependency-outdated.yml index 69adca5..66d4332 100644 --- a/.gitea/workflows/dependency-outdated.yml +++ b/.gitea/workflows/dependency-outdated.yml @@ -37,8 +37,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/docker-release-github.yml b/.gitea/workflows/docker-release-github.yml index 9aa5546..eb2106a 100644 --- a/.gitea/workflows/docker-release-github.yml +++ b/.gitea/workflows/docker-release-github.yml @@ -39,8 +39,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/docker-release.yml b/.gitea/workflows/docker-release.yml index 5f9e23f..4e5d44f 100644 --- a/.gitea/workflows/docker-release.yml +++ b/.gitea/workflows/docker-release.yml @@ -39,8 +39,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/npm-publish-github.yml b/.gitea/workflows/npm-publish-github.yml index a40be2b..9643ad7 100644 --- a/.gitea/workflows/npm-publish-github.yml +++ b/.gitea/workflows/npm-publish-github.yml @@ -36,8 +36,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/npm-publish.yml b/.gitea/workflows/npm-publish.yml index 820e447..71c2f50 100644 --- a/.gitea/workflows/npm-publish.yml +++ b/.gitea/workflows/npm-publish.yml @@ -36,8 +36,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Install dependencies run: npm ci diff --git a/.gitea/workflows/quality-gates-github.yml b/.gitea/workflows/quality-gates-github.yml index 48c45ea..1b6e20f 100644 --- a/.gitea/workflows/quality-gates-github.yml +++ b/.gitea/workflows/quality-gates-github.yml @@ -43,8 +43,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Check outdated packages run: npm outdated || true diff --git a/.gitea/workflows/quality-gates.yml b/.gitea/workflows/quality-gates.yml index 0744e62..3ba62bb 100644 --- a/.gitea/workflows/quality-gates.yml +++ b/.gitea/workflows/quality-gates.yml @@ -43,8 +43,8 @@ jobs: - name: Configure npm private registry run: | - echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/pzeta_touch/npm/" >> ~/.npmrc - echo "//gitea.pzetatouch.it/api/packages/pzeta_touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc + echo "@pzeta:registry=https://gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/" >> ~/.npmrc + echo "//gitea.pzetatouch.it/api/packages/PZeta_Touch/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc - name: Check outdated packages run: npm outdated || true