diff --git a/Jenkinsfile b/Jenkinsfile index 7fa2a0d..e2c0823 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,10 @@ namespace="demo" podTemplate(label: 'pod', cloud: 'kubernetes', serviceAccount: 'jenkins-sa', containers: [ containerTemplate( - name: 'docker', image: 'swr.eu-de.otc.t-systems.com/base-image/docker:dind', ttyEnabled: true, command: 'cat', privileged: true, + 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") ]