no changes for some reason
This commit is contained in:
parent
9756aeed8b
commit
57e407dfdf
@ -79,11 +79,11 @@ spec:
|
||||
container("kaniko") {
|
||||
def DF = """FROM gcr.io/kaniko-project/executor:debug
|
||||
COPY ./cosign /busybox/cosign
|
||||
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\""
|
||||
writeFile(file: workspace + "/Dockerfile", text: DF)
|
||||
sh "/kaniko/executor --cleanup --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/kaniko:latest\" --single-snapshot"
|
||||
sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/kaniko:latest\" --single-snapshot"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user