mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
978 B
978 B
${docGenStepName}
${docGenDescription}
Prerequsites
When pushing to a container registry, you need to maintain the respective credentials in your Jenkins credentials store:
Kaniko expects a Docker config.json
file containing the credential information for registries.
You can create it like explained in the Docker Success Center in the articale about How to generate a new auth in the config.json file.
Please copy this file and upload it to your Jenkins for example
via Jenkins -> Credentials -> System -> Global credentials (unrestricted) -> Add Credentials ->
- Kind: Secret file
- File: upload your
config.json
file - ID: specify id which you then use for the configuration of
dockerConfigJsonCredentialsId
(see below)
${docJenkinsPluginDependencies}
Example
kanikoExecute script:this