|
|
@@ -51,18 +51,6 @@ pipeline {
|
|
|
stage('Package and publish build') {
|
|
|
steps {
|
|
|
|
|
|
- withCredentials([file(credentialsId: 'gcr.io_csh-gcdm-test', variable: 'DOCKER_REPO_KEY_PATH')]) {
|
|
|
- sh 'docker login -u _json_key --password-stdin https://gcr.io/csh-gcdm-test < ${DOCKER_REPO_KEY_PATH}'
|
|
|
- }
|
|
|
- sh 'DOCKER_REPO=gcr.io/csh-gcdm-test make publish'
|
|
|
- sh 'docker logout https://gcr.io/csh-gcdm-test'
|
|
|
-
|
|
|
- withCredentials([file(credentialsId: 'gcr.io_csh-staging', variable: 'DOCKER_REPO_KEY_PATH')]) {
|
|
|
- sh 'docker login -u _json_key --password-stdin https://gcr.io/csh-staging < ${DOCKER_REPO_KEY_PATH}'
|
|
|
- }
|
|
|
- sh 'DOCKER_REPO=gcr.io/csh-staging make publish'
|
|
|
- sh 'docker logout https://gcr.io/csh-staging'
|
|
|
-
|
|
|
withCredentials([file(credentialsId: 'gcr.io_cr-test2', variable: 'DOCKER_REPO_KEY_PATH')]) {
|
|
|
sh 'docker login -u _json_key --password-stdin https://gcr.io/cr-test2 < ${DOCKER_REPO_KEY_PATH}'
|
|
|
}
|