introduce jenkinsfile

This commit is contained in:
mykola2312 2024-03-14 02:12:29 +02:00
parent 741a01e621
commit 7146cd39db

17
Jenkinsfile vendored Normal file
View file

@ -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('')
}
}
}