diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..29cd8a5 --- /dev/null +++ b/Jenkinsfile @@ -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() + } + } + } + } + } +}