github.com/jaylevin/jenkins-library@v1.230.4/vars/kanikoExecute.groovy (about)

     1  import groovy.transform.Field
     2  
     3  @Field String STEP_NAME = getClass().getName()
     4  @Field String METADATA_FILE = 'metadata/kanikoExecute.yaml'
     5  
     6  void call(Map parameters = [:]) {
     7      List credentials = [[type: 'file', id: 'dockerConfigJsonCredentialsId', env: ['PIPER_dockerConfigJSON']]]
     8      piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
     9  }