-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give GCP access to trivikr with a "Editor" role for Container Registry and Cloud Run #3774
Comments
+1 |
+1 |
I'm getting an error when running $ docker push gcr.io/nodejs-org/processcloudflare:latest
The push refers to repository [gcr.io/nodejs-org/processcloudflare]
0da38d68eb86: Pushing [==================================================>] 16.9kB
0ee473237b8a: Pushing [==================================================>] 53.93MB/53.93MB
b7498e9d3873: Pushing [==================================================>] 4.096kB
9279ccc76f81: Pushing 2.56kB
7467ef3c871b: Layer already exists
434cc13f0a3f: Layer already exists
913dc9e03897: Layer already exists
eedd421a1799: Layer already exists
1387079e86ad: Layer already exists
denied: Access denied. I'v run $ docker pull gcr.io/nodejs-org/processcloudflare@sha256:b86c048c80c366adfb116122557694d3dff12a62774a33fb298d83142b48bf3b
...
gcr.io/nodejs-org/processcloudflare@sha256:b86c048c80c366adfb116122557694d3dff12a62774a33fb298d83142b48bf3b: Pulling from nodejs-org/processcloudflare
fa1690ae9228: Pull complete
2e799f213a71: Pull complete
7889b64c76ee: Pull complete
f014a43d13b9: Pull complete
a362afa18dd0: Pull complete
f2ae68db337f: Pull complete
6abe74b5e2f0: Pull complete
97514749f1a3: Pull complete
1c0d6a0abd54: Pull complete
Digest: sha256:b86c048c80c366adfb116122557694d3dff12a62774a33fb298d83142b48bf3b This is the first time I'm using GCP, and I'm not sure what the issue is. |
As per documentation, my GMail account might need to have |
@trivikr I added you this permission to the bucket. |
Thank you. The $ docker push gcr.io/nodejs-org/processcloudflare:latest
The push refers to repository [gcr.io/nodejs-org/processcloudflare]
0da38d68eb86: Pushed
0ee473237b8a: Pushed
b7498e9d3873: Pushed
9279ccc76f81: Pushed
7467ef3c871b: Layer already exists
434cc13f0a3f: Layer already exists
913dc9e03897: Layer already exists
eedd421a1799: Layer already exists
1387079e86ad: Layer already exists
latest: digest: sha256:8fbdec8ab2fd3a2a6e237d812999e5420ca8d546fabcb417fbb12a422d1573e0 size: 2201 |
The $ gcloud run deploy processlogs --image gcr.io/nodejs-org/processcloudflare:latest --region us-central1 --no-allow-unauthenticated
Deploying container to Cloud Run service [processlogs] in project [nodejs-org] region [us-central1]
X Deploying...
. Creating Revision...
. Setting IAM Policy...
Deployment failed
ERROR: (gcloud.run.deploy) PERMISSION_DENIED: Permission 'iam.serviceaccounts.actAs' denied on service account [email protected] (or it may not exist). This command is authenticated as <trivikr-email> which is the active account specified by the [core/account] property. As per StackOverflow and Deployment permissions, the |
I added the |
Verified that $ gcloud run deploy processlogs --image gcr.io/nodejs-org/processcloudflare:latest --region us-central1 --no-allow-unauthenticated
Deploying container to Cloud Run service [processlogs] in project [nodejs-org] region [us-central1]
X Deploying... Done.
✓ Creating Revision...
Setting IAM Policy...
Completed with warnings:
Setting IAM policy failed, try "gcloud beta run services remove-iam-policy-binding --region=us-central1 --member=allUsers --role=roles/run.invoker processlogs"
Service [processlogs] revision [processlogs-00062-qfw] has been deployed and is serving 0 percent of traffic. |
Follow-up to #3760
Updating Node.js version on CloudRun needed back-and-forth #3767 (comment)
@targos @nodejs/build-infra
The text was updated successfully, but these errors were encountered: