fix docker credentials again

This commit is contained in:
Morgan McMillian 2022-11-29 22:33:58 -08:00
parent ec2dfcec42
commit ca48c2e8d8

3
Jenkinsfile vendored
View file

@ -2,7 +2,6 @@ pipeline {
agent none
environment {
SNAPCRAFT_STORE_CREDENTIALS = credentials('snapcraft-store-credentials')
registryCredential = credentials('docker-gitea-creds')
}
options {
skipDefaultCheckout(true)
@ -15,7 +14,7 @@ pipeline {
cleanWs()
checkout scm
script {
docker.withRegistry('https://git.dreamfall.space/thrrgilag', registryCredential) {
docker.withRegistry('https://git.dreamfall.space/thrrgilag', 'docker-gitea-creds') {
def customImage = docker.build('git.dreamfall.space/thrrgilag/partybot:latest')
customImage.push()
}