This commit is contained in:
Kameron Kenny 2024-05-25 14:08:13 -04:00
parent 270c68c877
commit 9dcc53bb3b
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -17,7 +17,7 @@ pipeline {
stage("Build Containers and push to registry") { stage("Build Containers and push to registry") {
steps { steps {
script { script {
sh 'docker build -t docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:0.0.3 . --push' sh 'docker build -t docker-registry1.in.thelinuxpro.net:5000/sites/thelinux.pro:0.0.1 . --push'
} }
} }
} }
@ -25,7 +25,7 @@ pipeline {
stage("Tag image as latest") { stage("Tag image as latest") {
steps { steps {
script { script {
sh 'docker tag docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:0.0.3 docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:latest' sh 'docker tag docker-registry1.in.thelinuxpro.net:5000/sites/thelinux.pro:0.0.1 docker-registry1.in.thelinuxpro.net:5000/sites/thelinux.pro:latest'
} }
} }
} }
@ -33,7 +33,7 @@ pipeline {
stage("push latest tag") { stage("push latest tag") {
steps { steps {
script { script {
sh 'docker image push docker-registry1.in.thelinuxpro.net:5000/sites/kameronkenny.com:latest' sh 'docker image push docker-registry1.in.thelinuxpro.net:5000/sites/thelinux.pro:latest'
} }
} }
} }