Update Jenkinsfile

This commit is contained in:
2025-12-18 08:55:19 +00:00
parent b20ed607ad
commit 341048ea6a

4
Jenkinsfile vendored
View File

@@ -4,13 +4,13 @@ pipeline {
stages { stages {
stage('Build Docker Image') { stage('Build Docker Image') {
steps { steps {
sh 'docker build -t localhost:5000/demo-app:${BUILD_NUMBER} .' sh 'docker build -t 192.168.1.80:5000/demo-app:${BUILD_NUMBER} .'
} }
} }
stage('Push Image to Registry') { stage('Push Image to Registry') {
steps { steps {
sh 'docker push localhost:5000/demo-app:${BUILD_NUMBER}' sh 'docker push 192.168.1.80:5000/demo-app:${BUILD_NUMBER}'
} }
} }
} }