1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/documentation/docs/steps/kanikoExecute.md
charly-lemee 0bba8f3d79
docs: fix typo in headline Prerequsites (#1461)
* fix: typo `Prerequsites`

* fix code climate finding

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-04-26 19:50:39 +02:00

979 B

${docGenStepName}

${docGenDescription}

Prerequisites

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

${docGenParameters}

${docGenConfiguration}