Closed dlorenc closed 5 years ago
/assign @evankanderson
Does this work for you?
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dlorenc, ImJasonH
The full list of commands accepted by this bot can be found here.
The pull request process is described here
I'll check this tonight, thanks!
Yes, adding this env var worked for me. (https://github.com/evankanderson/pyfun/blob/master/packaging/build-template.yaml has a copy of the kaniko build template here, which is what I tested.)
This resolves Kaniko issue #392 and knative/build issue #414. At some point, Kaniko started explicitly setting DOCKER_CONFIG so google/go-containerregistry would use the injected credential helpers. This behavior is ideal in some cases, but inside knative we want to use the auto-injected auth token directly.