From 7146cd39db053644270f84d218a368d3ae756f25 Mon Sep 17 00:00:00 2001 From: mykola2312 <49044616+mykola2312@users.noreply.github.com> Date: Thu, 14 Mar 2024 02:12:29 +0200 Subject: [PATCH] introduce jenkinsfile --- Jenkinsfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..186fe24 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,17 @@ +node { + def app + + stage('Clone') { + checkout scm + } + + stage('Build') { + app = docker.build('mykola2312/mk-dl-bot') + } + + stage('Push') { + docker.withRegistry('https://registry.hub.docker.com', 'a2aa5264-dce1-4054-8828-8db95e3c6c3c') { + app.push('') + } + } +} \ No newline at end of file