added promotion

This commit is contained in:
2025-12-10 16:26:36 -05:00
parent 235a207df6
commit accae56cd1

View File

@@ -33,8 +33,8 @@ pipeline {
echo "Promoting image tag ${params.SOURCE_TAG} to ${NEW_PERM_TAG} on ${REGISTRY}" echo "Promoting image tag ${params.SOURCE_TAG} to ${NEW_PERM_TAG} on ${REGISTRY}"
// 1. Tag the specific local image with the permanent tag // 1. Tag the specific local image with the permanent tag
sh "docker tag chore-app-frontend:${params.SOURCE_TAG} ${REPO_VUE}:${NEW_PERM_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_FLASK}:${NEW_PERM_TAG}" sh "docker tag chore-app-backend:${params.SOURCE_TAG} ${REPO_BACKEND}:${NEW_PERM_TAG}"
// 2. Push the newly tagged images // 2. Push the newly tagged images
sh "docker push ${REPO_FRONTEND}:${NEW_PERM_TAG}" sh "docker push ${REPO_FRONTEND}:${NEW_PERM_TAG}"