diff --git a/Jenkinsfile b/Jenkinsfile index 34b1d56..e48b615 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,7 @@ pipeline { agent none environment { SNAPCRAFT_STORE_CREDENTIALS = credentials('snapcraft-store-credentials') + registryCredential = 'jenkins-gitea-id' } options { skipDefaultCheckout(true) @@ -13,8 +14,8 @@ pipeline { cleanWs() checkout scm script { - docker.withRegistry('https://git.dreamfall.space', 'jenkins-gitea-id') { - def customImage = docker.build('partybot:${env.BUILD_ID}') + docker.withRegistry('https://git.dreamfall.space/thrrgilag', registryCredential) { + def customImage = docker.build('partybot:latest') customImage.push() }