From 5b13a4af8bd1a6dffcd8086606db5b1dbf06ab35 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Mon, 11 Nov 2024 00:36:38 -0600 Subject: [PATCH] variable correction. --- build-darkice.jenkins | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-darkice.jenkins b/build-darkice.jenkins index ecfc6f8..0d2fec7 100644 --- a/build-darkice.jenkins +++ b/build-darkice.jenkins @@ -54,9 +54,9 @@ ENTRYPOINT [ "/bin/bash", "-c", "/usr/local/bin/darkice" ] container ('kaniko') { script { def ws = pwd() - writeFile (file: ws + "/Dockerfile", text: config.dockerFile) + writeFile (file: ws + "/Dockerfile", text: dockerFile) withCredentials([usernameColonPassword( - credentialsId: config.repoCreds, + credentialsId: repositoryCreds, variable: "dCreds" )]) { sh "set +x; printf '{\"auths\":{\"%s\":{\"auth\": \"%s\"}}}' \"registry.c.test-chamber-13.lan\" \"${dcreds.bytes.encodeBase64().toString()}\" > /kaniko/.docker/config.json"