single snapshot seems to prevent layers from being added as expected.
This commit is contained in:
parent
fb37a042f8
commit
da028c5101
@ -66,7 +66,7 @@ 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 --single-snapshot --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/kaniko:latest\""
|
||||
sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/kaniko:latest\""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user