added promotion
This commit is contained in:
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user