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
|
agent none
|
||||||
environment {
|
environment {
|
||||||
SNAPCRAFT_STORE_CREDENTIALS = credentials('snapcraft-store-credentials')
|
SNAPCRAFT_STORE_CREDENTIALS = credentials('snapcraft-store-credentials')
|
||||||
registryCredential = credentials('docker-gitea-creds')
|
|
||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
skipDefaultCheckout(true)
|
skipDefaultCheckout(true)
|
||||||
|
@ -15,7 +14,7 @@ pipeline {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
checkout scm
|
checkout scm
|
||||||
script {
|
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')
|
def customImage = docker.build('git.dreamfall.space/thrrgilag/partybot:latest')
|
||||||
customImage.push()
|
customImage.push()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue