Minor inconvenience
Some checks failed
ecodash/pipeline/head There was a failure building this commit
Some checks failed
ecodash/pipeline/head There was a failure building this commit
This commit is contained in:
parent
d0f8950c3c
commit
97994ab47a
2
jenkins/Jenkinsfile
vendored
2
jenkins/Jenkinsfile
vendored
|
@ -63,7 +63,7 @@ pipeline {
|
||||||
when { branch 'master' }
|
when { branch 'master' }
|
||||||
steps {
|
steps {
|
||||||
withCredentials([usernamePassword(credentialsId: 'gitea-credentials', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
|
withCredentials([usernamePassword(credentialsId: 'gitea-credentials', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
|
||||||
sh 'docker login -u $USER -p $PASSWORD $DOCKER_REGISTRY'
|
sh 'docker login -u $USERNAME -p $PASSWORD $DOCKER_REGISTRY'
|
||||||
}
|
}
|
||||||
sh """
|
sh """
|
||||||
docker image tag ecodash $DOCKER_REGISTRY/$SERVICE:$TAG
|
docker image tag ecodash $DOCKER_REGISTRY/$SERVICE:$TAG
|
||||||
|
|
Loading…
Reference in a new issue