commit
ab6c4c719f
16
Jenkinsfile
vendored
Normal file
16
Jenkinsfile
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user