diff --git a/Jenkinsfile b/Jenkinsfile index 4fda57a..bf63d5c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,12 +5,12 @@ image="swr.eu-de.otc.t-systems.com/omnia-test/${repository}:${version}.${env.BUI namespace="demo" podTemplate(label: 'pod', cloud: 'kubernetes', serviceAccount: 'jenkins-sa', + imagePullSecrets: [ + 'default-secret' + ], containers: [ containerTemplate( name: 'docker', image: 'swr.eu-de.otc.t-systems.com/base-image/docker:dind', ttyEnabled: true, command: 'cat', privileged: true, - imagePullSecrets: [ - 'default-secret' - ], envVars: [ secretEnvVar(key: "PASS", secretName: "docker-reg", secretKey: "docker-reg") ]