switches to local registry

This commit is contained in:
Hyatt 2022-01-03 12:24:42 -06:00
parent da028c5101
commit 75b8da6889
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -61,7 +61,7 @@ spec:
stage("Build Alpine with CA") { stage("Build Alpine with CA") {
container("kaniko") { container("kaniko") {
def DF = """FROM gcr.io/kaniko-project/executor:debug def DF = """FROM ${registry}/google/kaniko-project/executor:debug
COPY ./kaniko-chain.crt /kaniko/ssl/certs/ca-certificates.crt COPY ./kaniko-chain.crt /kaniko/ssl/certs/ca-certificates.crt
""" """
sh "cp /kaniko/ssl/certs/ca-certificates.crt \"${workspace}/kaniko-chain.crt\"" sh "cp /kaniko/ssl/certs/ca-certificates.crt \"${workspace}/kaniko-chain.crt\""