Update 'build-minecraft.jenkins'
This commit is contained in:
parent
63e3208d72
commit
91db0d48db
@ -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\""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user