mirror of
https://gitlab.com/djdietrick/docs
synced 2026-05-03 00:20:54 -04:00
Added push stage to jenkinsfile
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -6,5 +6,11 @@ pipeline {
|
|||||||
sh 'docker build -t docs:latest .'
|
sh 'docker build -t docs:latest .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Push') {
|
||||||
|
steps {
|
||||||
|
sh 'docker tag docs:latest registry.dietrick.dev/djdietrick/docs:latest'
|
||||||
|
sh 'docker push registry.dietrick.dev/djdietrick/docs:latest'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user