node { checkout scm docker.withRegistry('https://registry.lan') { def image = docker.build('dns-updater') image.push("1") image.push("latest") } }