<p>The service account needs permissions to the storage segment where the containers will be pushed. To fix this</p>

<ul>
<li>Log in to the Google Cloud Platform console</li>
<li>Go to the <em>Storage</em> section</li>
<li>Tick the corresponding storage segment and click <em>Show information panel</em> button in the top-right corner.</li>
<li>Add the storage object administration permission to your service account.</li>
</ul>

<p>You can then retry locally with <code>jet steps --push</code>.</p>

CC BY-SA 3.0
2017-07-14T19:01:21.277Z
2017-07-14T19:01:21.277Z
Federico B.
<p>I created a Service Account in the Google Cloud console to let Codeship push Docker images to Google Container Registry, but when I test it with <code>jet steps --push</code> it says I don't have permissions.</p>

<pre><code>{StepFinished=step_name:"push_app" type:STEP_FINISHED_TYPE_ERROR}                                                                                                                 
Image Push error for image gcr.io/my-project/my-app:1499432530, denied: Unable to access the repository; please check that you have permission to access it
</code></pre>

<p>The service account already has full owner permissions to my account. Is there anything I need to check in the Google console or my Codeship configuration?</p>

<docker><continuous-delivery><google-cloud-platform>
Codeship cannot push image to Google Container Registry
Federico B.
# Codeship cannot push image to Google Container Registry

(Asked by: username_0 on 2017-07-07)

I created a Service Account in the Google Cloud console to let Codeship push Docker images to Google Container Registry, but when I test it with jet steps --push it says I don't have permissions.
{StepFinished=step_name:"push_app" type:STEP_FINISHED_TYPE_ERROR}                                                                                                                 
Image Push error for image gcr.io/my-project/my-app:1499432530, denied: Unable to access the repository; please check that you have permission to access it

The service account already has full owner permissions to my account. Is there anything I need to check in the Google console or my Codeship configuration?

**Tags:** docker, continuous-delivery, google-cloud-platform


---

## 1 answers

### Answer by username_0 on 2017-07-14. Score: 1

The service account needs permissions to the storage segment where the containers will be pushed. To fix this

* Log in to the Google Cloud Platform console
* Go to the *Storage* section
* Tick the corresponding storage segment and click *Show information panel* button in the top-right corner.
* Add the storage object administration permission to your service account.

You can then retry locally with `jet steps --push`.


---

