Change credentials
testing/ogcore-api/pipeline/head There was a failure building this commit Details

pull/12/head
Nicolas Arenas 2024-10-23 09:17:25 +02:00
parent 8b8c57f8a4
commit bb37c7aea0
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -5,7 +5,6 @@ pipeline {
environment {
DOCKER_REPO = "opengnsys"
DOCKER_CREDENTIALS = credentials('docker-hub-credentials')
DOCKER_TAG = "${env.BUILD_NUMBER}"
DOCKER_IMAGE_NAME = "ogcore"
BRANCH_NAME = "${env.BRANCH_NAME}"
@ -65,7 +64,7 @@ pipeline {
stage ("Publish Image") {
steps {
script {
docker.withRegistry('https://index.docker.io/v1/', "${DOCKER_CREDENTIALS}") {
docker.withRegistry('https://index.docker.io/v1/', 'docker-hub-credentials') {
docker.image("${DOCKER_IDENTITY}").push()
docker.image("${DOCKER_IDENTITY_NGINX}").push()
}