try registry push
Some checks failed
dreamfall/partybot/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2022-11-29 20:03:05 -08:00
parent 14fd404872
commit fa9b74d105

5
Jenkinsfile vendored
View file

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