1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

feat(kaniko) allow Docker config to be passed via cpe (#2734)

* feat(kaniko) allow Docker config to be passed via cpe

* update generated files
This commit is contained in:
Oliver Nocon 2021-04-01 09:47:24 +02:00 committed by GitHub
parent 60fe1761b6
commit d59864530a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -219,6 +219,11 @@ func kanikoExecuteMetadata() config.StepData {
{
Name: "dockerConfigJSON",
ResourceRef: []config.ResourceReference{
{
Name: "commonPipelineEnvironment",
Param: "custom/dockerConfigJSON",
},
{
Name: "dockerConfigJsonCredentialsId",
Type: "secret",

View File

@ -95,6 +95,8 @@ spec:
- STEPS
secret: true
resourceRef:
- name: commonPipelineEnvironment
param: custom/dockerConfigJSON
- name: dockerConfigJsonCredentialsId
type: secret
- type: vaultSecretFile