From 91db0d48db5fc4ba6359311edec485726ea2a8c1 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Sun, 23 May 2021 00:45:14 +0000 Subject: [PATCH] Update 'build-minecraft.jenkins' --- build-minecraft.jenkins | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins index b3a0b19..9de444a 100644 --- a/build-minecraft.jenkins +++ b/build-minecraft.jenkins @@ -2,12 +2,12 @@ def nodeLabel = "${UUID.randomUUID().toString()}" // Kaniko Image -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" // Container Variables -def baseImage = "${repository}/nhyatt/alpine" +def baseImage = "${repository}/library/alpine" def baseImageTag = "latest" def alpineJavaPackage = "openjdk11" @@ -88,7 +88,7 @@ CMD cd data; java -Xms${memoryMin} -Xmx${memoryMax} -jar ../paper-mc.jar stage ("Build & Push") { container ("kaniko") { - sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/nhyatt/minecraft:latest\"" + sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/minecraft:latest\"" } } }