diff --git a/Jenkinsfile b/Jenkinsfile index ae48863..8c25204 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,10 +30,11 @@ pipeline { def quay_credentials= "18fb6f7e-c6bc-4d06-9bf9-08c2af6bfc1a" withDockerRegistry([ credentialsId: quay_credentials, url: "https://quay.io" ]) { def quay_image = 'quay.io/' + repo + '/' + project + ':' + version + sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + quay_image sh "docker push " + quay_image - sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + official_image.split(/\:/)[0] + ":latest" + sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + quay_image.split(/\:/)[0] + ":latest" sh "docker push " + official_image.split(/\:/)[0] + ":latest" - sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + official_image.split(/\:/)[0] + ":3.12" + sh "docker image tag " + registry+'/'+repo+'/'+project+':'+version + ' ' + quay_image.split(/\:/)[0] + ":3.12" sh "docker push " + official_image.split(/\:/)[0] + ":3.12" } }