From 6eb35ac9fe5dcec15a5498b34f93f1c66450af18 Mon Sep 17 00:00:00 2001 From: onikolskyy Date: Wed, 8 Nov 2023 11:41:41 +0100 Subject: [PATCH] a --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") ]