fix docker credentials again
This commit is contained in:
parent
ec2dfcec42
commit
ca48c2e8d8
1 changed files with 1 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue