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