diff --git a/Jenkinsfile b/Jenkinsfile index c330a78..34b1d56 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,8 +10,10 @@ pipeline { stage('Build docker image') { agent { label 'docker-build' } steps { + cleanWs() + checkout scm script { - docker.withRegistry('https://git.dreamfall.space', '0e145583-73da-44fa-8117-b8d5352025df') { + docker.withRegistry('https://git.dreamfall.space', 'jenkins-gitea-id') { def customImage = docker.build('partybot:${env.BUILD_ID}') customImage.push()