Fixed img name variable usage

This commit is contained in:
2025-09-25 19:21:09 +02:00
parent 30e77947f6
commit 7bfb9bdf89

4
Jenkinsfile vendored
View File

@@ -17,8 +17,8 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t ${env.PUSH_REGISTRY}/${LC_WP_IMG}:${LC_IMG_TAG} ." sh "docker build --build-arg ENV_NAME=${params.ENVIRONMENT} -t ${env.PUSH_REGISTRY}/${env.LC_WP_IMG}:${LC_IMG_TAG} ."
sh 'docker push ${env.PUSH_REGISTRY}/${LC_WP_IMG}:${LC_IMG_TAG}' sh 'docker push ${env.PUSH_REGISTRY}/${env.LC_WP_IMG}:${LC_IMG_TAG}'
} }
} }
} }