# For 1.0 RC3, how to setup GCR creds for private plugin pull

**URL:** <https://drone.discourse.group/t/for-1-0-rc3-how-to-setup-gcr-creds-for-private-plugin-pull/7600>\
**Category:** Drone Support\
**Created:** [January 8, 2019, 7:36pm UTC](https://drone.discourse.group/t/for-1-0-rc3-how-to-setup-gcr-creds-for-private-plugin-pull/7600 "2019-01-08T19:36:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvora](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/rvora/32/3820_2.png) [@rvora](https://drone.discourse.group/u/rvora)\
**Post date:** [January 8, 2019, 7:36pm UTC](https://drone.discourse.group/t/for-1-0-rc3-how-to-setup-gcr-creds-for-private-plugin-pull/7600/1 "2019-01-08T19:36:48Z")

</div>

I have searched discourse and also drone slack channel can’t find the answer. Drone 1.0 doc simply says " If the image is private you will need to configure registry credentials." but no details.

In drone 0.8, there was a drone registry command to manage that. In Drone 1.0, there is no drone registry command.

Drone server is running on a VM (but I also want to do this when I run it on GKE with Kubernetes run time). Hopefully, there is a way to solve this for both use-cases.

Thanks for any speedy help.

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [January 8, 2019, 7:39pm UTC](https://drone.discourse.group/t/for-1-0-rc3-how-to-setup-gcr-creds-for-private-plugin-pull/7600/2 "2019-01-08T19:39:04Z")

</div>

There is a thread available here that describes how to add registry credentials: [Pulling Private Images with 1.0](http://discuss.harness.io/t/pulling-private-images-with-1-0/3155)

---

<div class="post-metadata">

**Author:** ![rvora](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/rvora/32/3820_2.png) [@rvora](https://drone.discourse.group/u/rvora)\
**Post date:** [January 8, 2019, 8:01pm UTC](https://drone.discourse.group/t/for-1-0-rc3-how-to-setup-gcr-creds-for-private-plugin-pull/7600/3 "2019-01-08T20:01:19Z")

</div>

In first option, I am assuming we need to create the secret .dockerconfigjson for each repository using e.g. drone secret add --repository … command?

I suppose Option 2 can be used to solve this globally?
