🐛 fix(ci): normalizza nome immagine Docker rimuovendo scope npm

- I package con scope npm (@pzeta/nome) generano tag Docker invalidi
- Aggiunto sed per strippare '@scope/' prima di costruire il tag
- Risultato: gitea.pzetatouch.it/pzeta_touch/telegram-file-bot:1.0.1
This commit is contained in:
LucaZanni
2026-03-26 07:12:29 +01:00
parent f1305498c1
commit 02f61125ef
+2 -1
View File
@@ -60,7 +60,8 @@ jobs:
- name: Determine image tags
id: tags
run: |
APP_NAME=$(jq -r '.name' package.json)
RAW_NAME=$(jq -r '.name' package.json)
APP_NAME=$(echo "$RAW_NAME" | sed 's|^@[^/]*/||')
VERSION=$(jq -r '.version' package.json)
REGISTRY="gitea.pzetatouch.it/pzeta_touch"
echo "version_tag=${REGISTRY}/${APP_NAME}:${VERSION}" >> $GITHUB_OUTPUT