Rollux/Jenkinsfile

17 lines
302 B
Groovy

pipeline {
agent any
stages {
stage('docker build') {
steps {
echo 'Starting docker image build'
script {
docker.withRegistry("https://pkg.northcode.no", 'docker-login') {
def image = docker.build("pkg.northcode.no/rollux")
image.push()
}
}
}
}
}
}