Skip to content
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

Needed to run a credentials helper for docker to make make push work #44

Open
draffensperger opened this issue Oct 5, 2023 · 2 comments
Labels
enhancement accepted An actionable enhancement for which PRs will be accepted enhancement New feature or request priority: p2

Comments

@draffensperger
Copy link

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.

@aabmass
Copy link
Contributor

aabmass commented Oct 23, 2023

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

gcloud artifacts repositories create ${CONTAINER_REGISTRY} --repository-format=docker --location=${REGISTRY_LOCATION} --description="OpenTelemetry Operator sample registry"

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 aabmass added enhancement New feature or request enhancement accepted An actionable enhancement for which PRs will be accepted priority: p2 labels Oct 23, 2023
@draffensperger
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement accepted An actionable enhancement for which PRs will be accepted enhancement New feature or request priority: p2
Projects
None yet
Development

No branches or pull requests

2 participants