27 lines
416 B
Groovy
27 lines
416 B
Groovy
pipeline {
|
|
agent {
|
|
label 'pi501.in.thelinuxpro.net'
|
|
}
|
|
|
|
stages {
|
|
stage("verify tooling") {
|
|
steps {
|
|
sh '''
|
|
docker version
|
|
docker info
|
|
docker compose version
|
|
'''
|
|
}
|
|
}
|
|
|
|
stage("Build Containers and push to registry") {
|
|
steps {
|
|
script {
|
|
sh 'docker build -t docker-registry1.in.thelinuxpro.net:5000/tlp/tlp_jekyll:0.0.1 . --push'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|