opentelemetry-operator-sample icon indicating copy to clipboard operation
opentelemetry-operator-sample copied to clipboard

Needed to run a credentials helper for docker to make `make push` work

Open draffensperger opened this issue 2 years ago • 2 comments

Thanks for making this great samples repo!

One small thing that seemed like it may have been a missing step. When I ran make setup it didn't actually seem to create the artifact repository for me - I created it manually.

I also needed to run gcloud auth configure-docker us-central1-docker.pkg.dev to authorize my local docker to talk to GCP artifact repository for make push command to work for me for the go app.

draffensperger avatar Oct 05 '23 18:10 draffensperger

When I ran make setup it didn't actually seem to create the artifact repository for me - I created it manually.

Do you remember what error you saw? It should be creating the artifact registry https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample/blob/57b07411b81b73ceb0cf99834cef1773d44c3276/Makefile#L21

I also needed to run gcloud auth configure-docker us-central1-docker.pkg.dev to authorize my local docker to talk to GCP artifact repository for make push command to work for me for the go app.

👍 agreed, we should add it

aabmass avatar Oct 23 '23 19:10 aabmass

I don't remember the exact error unfortunately, but if I hit it again I'll update here.

draffensperger avatar Oct 24 '23 16:10 draffensperger