fix(ci): use correct registry credential ID 'REGISTRY'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Martin Tahiraj
2026-04-02 14:52:04 +02:00
parent c8dbd399ce
commit 4e096de6c9

4
ci/Jenkinsfile vendored
View File

@@ -31,7 +31,7 @@
* Credenziali Jenkins richieste * Credenziali Jenkins richieste
* ------------------------------ * ------------------------------
* GIT_TOKEN Username/Password — token Gitea (checkout + push) * GIT_TOKEN Username/Password — token Gitea (checkout + push)
* registry-credentials Username/Password — Docker registry * REGISTRY Username/Password — Docker registry
* *
* ============================================================================ * ============================================================================
*/ */
@@ -255,7 +255,7 @@ pipeline {
// Login al registry dentro withCredentials — non fallisce il // Login al registry dentro withCredentials — non fallisce il
// pipeline se la credenziale non esiste ancora (gestisce errore) // pipeline se la credenziale non esiste ancora (gestisce errore)
withCredentials([usernamePassword( withCredentials([usernamePassword(
credentialsId: 'registry-credentials', credentialsId: 'REGISTRY',
usernameVariable: 'REGISTRY_USR', usernameVariable: 'REGISTRY_USR',
passwordVariable: 'REGISTRY_PSW' passwordVariable: 'REGISTRY_PSW'
)]) { )]) {