From fa9b74d1059b14173e905a725db788605a5461bd Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Tue, 29 Nov 2022 20:03:05 -0800 Subject: [PATCH] try registry push --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() }