From eadec679405592bfa3760a2a6d87b2af3df9d8db Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Wed, 10 Dec 2025 16:55:37 -0500 Subject: [PATCH] added promotion --- Jenkinsfile-Promoter | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile-Promoter b/Jenkinsfile-Promoter index efe9d91..33f1206 100644 --- a/Jenkinsfile-Promoter +++ b/Jenkinsfile-Promoter @@ -23,8 +23,8 @@ pipeline { stage('Pull Local Images') { steps { // Ensure the source images are available locally - sh "docker pull chore-app-frontend:${params.SOURCE_TAG} || true" - sh "docker pull chore-app-backend:${params.SOURCE_TAG} || true" + sh "docker pull ${VUE_CONTAINER_NAME}:${params.SOURCE_TAG} || true" + sh "docker pull ${FLASK_CONTAINER_NAME}:${params.SOURCE_TAG} || true" } } @@ -33,8 +33,8 @@ pipeline { echo "Promoting image tag ${params.SOURCE_TAG} to ${NEW_PERM_TAG} on ${REGISTRY}" // 1. Tag the specific local image with the permanent tag - sh "docker tag chore-app-frontend:${params.SOURCE_TAG} ${REPO_FRONTEND}:${NEW_PERM_TAG}" - sh "docker tag chore-app-backend:${params.SOURCE_TAG} ${REPO_BACKEND}:${NEW_PERM_TAG}" + sh "docker tag ${VUE_CONTAINER_NAME}:${params.SOURCE_TAG} ${REPO_FRONTEND}:${NEW_PERM_TAG}" + sh "docker tag ${FLASK_CONTAINER_NAME}:${params.SOURCE_TAG} ${REPO_BACKEND}:${NEW_PERM_TAG}" // 2. Push the newly tagged images sh "docker push ${REPO_FRONTEND}:${NEW_PERM_TAG}"