fix(ci): use correct registry credential ID 'REGISTRY'
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
4
ci/Jenkinsfile
vendored
4
ci/Jenkinsfile
vendored
@@ -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'
|
||||||
)]) {
|
)]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user