From 39911c48a2de6e7c21979cac52ac6bf9e0136a30 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Sat, 22 May 2021 19:46:45 +0000 Subject: [PATCH] Update 'build-deluge.jenkins' --- build-deluge.jenkins | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build-deluge.jenkins b/build-deluge.jenkins index ca3092b..e298136 100644 --- a/build-deluge.jenkins +++ b/build-deluge.jenkins @@ -1,7 +1,7 @@ def nodeLabel = "${UUID.randomUUID().toString()}" -def repository = "registry.test-chamber-13.lan" -def kanikoImage = "${repository}/nhyatt/kaniko:latest" -def repositoryCreds = "quay-repository-creds" +def repository = "registry.cluster.test-chamber-13.lan" +def kanikoImage = "${repository}/library/kaniko:latest" +def repositoryCreds = "harbor-repository-creds" podTemplate( name: "pipelineContainer", @@ -81,7 +81,7 @@ if [[ "\${?}" != "0" ]]; then fi """ - def dockerfile = """FROM linuxserver/deluge:amd64-latest + def dockerfile = """FROM ${repository}/dockerhub/linuxserver/deluge:amd64-latest COPY connectivity_test.sh /root RUN apt-get update && \\ @@ -93,7 +93,7 @@ RUN apt-get update && \\ writeFile file: workspace + '/Dockerfile', text: dockerfile writeFile file: workspace + '/connectivity_test.sh', text: connectivity_test sh "chmod +x \"${workspace}/connectivity_test.sh\"" - sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/nhyatt/deluge:latest\"" + sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/deluge:latest\"" } } }