Add csh-staging to repos

This commit is contained in:
Christopher Hoskin
2018-06-13 15:47:45 +01:00
parent 547ef679b4
commit b3033c1686
2 changed files with 8 additions and 0 deletions

6
Jenkinsfile vendored
View File

@@ -36,6 +36,12 @@ pipeline {
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'
}
}