diff --git a/Jenkinsfile b/Jenkinsfile index 58b10032630aa60a847d0da32c476bd2fb48bf8d..3765f8b9d1023f9ea035ba127d7b5a8055750b46 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,12 +31,11 @@ pipeline { } stage('Push to GCR') { steps { - #withCredentials([string(credentialsId: 'gcr-service-account-key', variable: 'GCR_KEY')]) { + script { #sh 'echo $GCR_KEY | docker login -u _json_key --password-stdin ${GCR_REGISTRY}' sh "docker push ${GCR_REGISTRY}/${IMAGE_NAME}:${dockerTag}" } - # } } }