mirror of
https://github.com/ghndrx/docker-test-image.git
synced 2026-02-10 06:45:05 +00:00
s
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -23,7 +23,11 @@ pipeline {
|
||||
sh 'docker push aisthanestha/docker-test-image:latest'
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
sh 'docker logout'
|
||||
}
|
||||
}
|
||||
stage('Pull and Deploy') {
|
||||
steps {
|
||||
node('any') { // Provide a label for the Jenkins agent
|
||||
@@ -44,9 +48,5 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
sh 'docker logout'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user