From 7de71b0b4bcb4137e5271b01568a0d4068826715 Mon Sep 17 00:00:00 2001 From: Andreas Larsen Date: Tue, 14 May 2019 15:08:21 +0200 Subject: [PATCH] feat(ci): publish docker image as part of build --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1a23622..71187ff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,10 @@ pipeline { echo 'Starting docker image build' script { - docker.build("northcode/telegram-leetbot") + docker.withRegistry("pkg.northcode.no") { + def image = docker.build("pkg.northcode.no/telegram-leetbot") + image.push() + } } } }