Fix Jenkinsfile syntax (clean comments)

This commit is contained in:
soufiane 2025-11-04 14:14:09 +01:00
parent daec16f002
commit ade619232e

3
Jenkinsfile vendored
View File

@ -87,12 +87,15 @@ pipeline {
stage('Build Docker image') {
steps {
echo "🐳 Construction de limage Docker backend..."
dir('the-tip-top-backend') { // <-- Dossier contenant le Dockerfile
sh """
docker build -t ${REGISTRY_URL}/${IMAGE_NAME}:${TAG} .
docker tag ${REGISTRY_URL}/${IMAGE_NAME}:${TAG} ${REGISTRY_URL}/${IMAGE_NAME}:latest
"""
}
}
}
/* ───────────────────────────────
* 5⃣ Push vers le registre privé