Add Jenkinsfile
This commit is contained in:
parent
05fc12e55c
commit
acecc118a7
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