github.com/jaylevin/jenkins-library@v1.230.4/documentation/docs/steps/kanikoExecute.md (about) 1 # ${docGenStepName} 2 3 ## ${docGenDescription} 4 5 ## Prerequisites 6 7 When pushing to a container registry, you need to maintain the respective credentials in your Jenkins credentials store: 8 9 Kaniko expects a Docker `config.json` file containing the credential information for registries. 10 You can create it like explained in the [protocodeExecuteScan Prerequisites section](https://www.project-piper.io/steps/protecodeExecuteScan/#prerequisites). 11 12 Please copy this file and upload it to your Jenkins for example<br /> 13 via _Jenkins_ -> _Credentials_ -> _System_ -> _Global credentials (unrestricted)_ -> _Add Credentials_ -> 14 15 * Kind: _Secret file_ 16 * File: upload your `config.json` file 17 * ID: specify id which you then use for the configuration of `dockerConfigJsonCredentialsId` (see below) 18 19 ## ${docJenkinsPluginDependencies} 20 21 ## Example 22 23 ```groovy 24 kanikoExecute script:this 25 ``` 26 27 ## ${docGenParameters} 28 29 ## ${docGenConfiguration}