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\"" } } }