knative / build-templates

A library of build templates.
Apache License 2.0
183 stars 67 forks source link

Add serviceaccount info to kaniko build #36

Closed sebgoa closed 6 years ago

sebgoa commented 6 years ago

following up from a slack conversation and some testing, I am adding a bit of info about using a serviceaccount for a kaniko build.

also adding a DOCKER_CONFIG env var in the template to properly load the creds

google-prow-robot commented 6 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ImJasonH, sebgoa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/knative/build-templates/blob/master/OWNERS)~~ [ImJasonH] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment