From 7dd35efbc289de10c7879518b3327e328426fefa Mon Sep 17 00:00:00 2001 From: The_Spider Date: Fri, 17 Jul 2020 13:34:32 -0500 Subject: [PATCH] Updates Registry --- build-kaniko.jenkins | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-kaniko.jenkins b/build-kaniko.jenkins index 6c8542a..97884a0 100644 --- a/build-kaniko.jenkins +++ b/build-kaniko.jenkins @@ -1,6 +1,6 @@ def label = "jenkins-${UUID.randomUUID().toString()}" -def pushRepo = "registry.test-chamber-13.lan:5000" +def repository = "registry.test-chamber-13.lan:8443/nhyatt" def repositoryCreds = "quay-repository-creds" def caContent = """ @@ -71,7 +71,7 @@ COPY kaniko-chain.crt /kaniko/ssl/certs/ca-certificates.crt """ sh "cp /kaniko/ssl/certs/ca-certificates.crt \"${workspace}/kaniko-chain.crt\"" writeFile(file: workspace + "/Dockerfile", text: DF) - sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${pushRepo}/nhyatt/kaniko:latest\"" + sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/kaniko:latest\"" } } }