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