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